Navigation

    TRIGGERcmd
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Russ
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Russ

    @Russ

    administrators

    I'm a tech enthusiast with about 30 years experience in IT. Recently I'm also a TRIGGERcmd developer.

    44
    Reputation
    724
    Posts
    1908
    Profile views
    6
    Followers
    1
    Following
    Joined Last Online
    Website triggercmd.com Location Haslett, MI

    Russ Follow
    administrators

    Posts made by Russ

    • RE: Simple IFTTT - TriggerCMD connection

      @JoseCampos, I tried it myself and it worked for me. I wonder if you're using the bookmark token, not the one on the Instructions page? The bookmark token won't work.

      Or, maybe you're using the voice field value for either the trigger or the computer? That won't work either.

      My URL is: https://www.triggercmd.com/api/IFTTT?trigger=calculator&computer=ds
      My method: POST
      My content type: application/x-www-form-urlencoded
      My body: token=eyJ.... (with no spaces)

      posted in General Discussion
      Russ
    • New Android app called TRIGGERcmd Widgets

      I pubished a new Android app called TRIGGERcmd Widgets that lets you create widgets on your Android desktop for your TRIGGERcmd commands. Just tap the widget and your command will run.

      TRIGGERcmd widgets

      TRIGGERcmd widgets configuration screen

      posted in Announcements
      Russ
    • RE: How to end session for custom Alexa skill?

      @Ryan694, my code is different from yours, but after looking here, I think this might work:

      const ExitHandler = {
        canHandle(handlerInput) {
          const request = handlerInput.requestEnvelope.request;
          return request.type === 'IntentRequest'
            && (request.intent.name === 'AMAZON.StopIntent');
        },
        handle(handlerInput) {
          return handlerInput.responseBuilder
            .speak('bye!')
            .shouldEndSession(true)
            .getResponse();
        },
      };
      
      posted in General Discussion
      Russ
    • RE: Can you open a program such as adobe illustrator?

      @Jossember-Borrome-Perdomo, you can usually find the command by right-clicking the icon, and clicking Open file location, then you'll probably see a shortcut file, and you can right-click that and click Properties. At that point you can copy the command from the Target field. I just did that with MS Word and got this command:

      "C:\Program Files\Microsoft Office 15\root\office15\WINWORD.EXE"
      

      In the case of MS Word, you can also run it with this command:

      start winword
      posted in General Discussion
      Russ
    • RE: trigger cmd on arch linux

      @Terry-King, I think it will work if you try again, and just run this command:

      node ./src/agent.js --console
      posted in General Discussion
      Russ
    • RE: Some suggestion about TriggerCMD

      @killwa91, have you tried specifying the full path to your scripts or executables?

      So instead of your command being:

      myscript.sh
      

      Make it:

      /usr/local/bin/myscript.sh
      

      Also, about the forum having a separate account - I didn't write the forum software. I just installed and configured it, so it would be very difficult to do that integration.

      posted in General Discussion
      Russ
    • RE: API access to external users

      @Josiah-Richards, yes, please do add more clarity. I think the bookmark URL's might solve part of this at least, but how do you see it working?

      Should there be a way to issue a special token with access to run specific trigger names on specific computers? Then you'd give that token to your external users / customers?

      posted in General Discussion
      Russ
    • Hear stock quotes from Google Assistant or Alexa

      This Powershell script calls the API and sends the result back to TRIGGERcmd so Alexa or Google Assistant can speak the price.

      The "demo" API key can only lookup Microsoft, so you'll want to get a free API key from https://www.alphavantage.co to lookup your own stocks.

      I added this as an example in Browse Examples in the GUI editor.
      This only works on Windows, but let me know if you want me to do a Mac or Linux version of this script.

      $symbol="MSFT"
      $apikey="demo"
      $resource="https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=$symbol&apikey=$apikey"
      $response=Invoke-RestMethod -Method Get -Uri $resource
      $price=$response.'Global Quote'.'05. price'
      $cmd="$env:USERPROFILE\.TRIGGERcmdData\sendresult.bat"
      cmd /c $cmd $price
      

      Configure the Voice Reply field like this:

      241c0cb1-bdda-4832-9ddc-a48f4f466af2-image.png

      There are a few other data points besides just price at this endpoint:
      https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=MSFT&apikey=demo

      posted in Example Commands
      Russ
    • RE: trigger cmd on arch linux

      @Terry-King, you were close. You can generally ignore those warnings when you run npm install. So you probably just had to run this when you were in the TRIGGERcmd-Agent folder:

      node ./src/agent.js --console
      

      You're not running X Windows right? That command runs the agent in forground mode and doesn't give you the tray icon or the GUI command editor, so you'll have to edit your ~/.TRIGGERcmdData/commands.json file with a text editor.

      posted in General Discussion
      Russ
    • RE: Export Current Commands from Command Editor to New Computer

      @Frank-Malczewski, to move your commands to the new computer, you can copy your commands.json file to the new computer, or use the "Text Command Editor" (screenshot below) to copy/paste the contents:

      5d619bcd-58da-47d1-852c-5880316a90be-image.png

      Also, thank you for subscribing!

      posted in General Discussion
      Russ