TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to get working with BitFocus Companion

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 4.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Favored.live TechF Offline
      Favored.live Tech
      last edited by

      How can I press a button on companion to trigger a cmd?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @Favored.live Tech
        last edited by Russ

        @favored-live-tech, here's one simple way to add a button to trigger one of your commands:

        First add Generic HTTP Requests under Connections.

        facc1bb3-57ff-4c08-a058-6b88aa905954-image.png

        Click the Bookmark button next to the command you want to run.
        37c274fd-cb5a-4fd9-9af1-de758106a69c-image.png

        Copy the bookmark URL for that command. It looks like this:
        https://www.triggercmd.com/trigger/bookmark?token=blahblah..

        Create a "Regular button" with http: GET as the "Press action"

        Paste the bookmark URL into the URL field (lower-right in this screenshot).
        bdfaf20f-cb9f-4623-9e64-cd2eac1f76ab-image.png

        Instead of the bookmark URL you could also use a URL like this:

        https://www.triggercmd.com/api/run/triggerSave?computer=(your computer name)&trigger=calculator&token=(token)

        Where token is a token from the Instructions page. Also replace calculator with your command's name.

        If there's a lot of demand, I'd be willing to make an official TRIGGERcmd connection module for it.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post