TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. abaratz
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 18
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by abaratz

    • RE: Agent in macOS Sonoma Task Bar

      @Russ Hi Russ, I apologize for the delay in responding. I was traveling. Yes - That fixed it. Thank you for the quick fix.

      posted in General Discussion
      A
      abaratz
    • Agent in macOS Sonoma Task Bar

      Re: Mac app issues

      I just installed the agent on another MacAir M3 running Sonoma. As in the referenced post, the agent is showing up in the task bar (actually both the task bar and the menu bar). I am experiencing exactly the same problems as in the referenced post. I looked at the info.plist and LSUIElement is not there. I tried adding it, but after restarting the system, the agent application would not start. By the way, when I looked at the info.plist on my MacBook Pro M2 running Sonoma, the LSUIElement setting was there. In fact, the info.plist file was quite different on the MacBook Pro - many fewer entires. I'm wondering if I am somehow picking up an older version of the software?

      posted in General Discussion
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ By the way, editing the commands.json file worked. Thanks for suggesting that.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ And, no antivirus software other than what comes with the OS. Thanks.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ Yes - I have tried uninstalling and re-installing, but the result was the same. Also, I just shutdown the Mac and restarted it. I watched the menu bar closely during the startup and TC showed up in the menu bar for about two seconds and then went away. Odd. In any case, thanks for trying.

      Alan.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ Oops - That’s 14.4.1 on the OS. Sorry.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ Also, the OS is 10.4.1, not 4.4.1.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ I’m using a new MacAir with an M3 processor - Apple silicon.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ Thanks.

      Yes, I have tried quitting and restarting the agent.

      I’ll try editing the json for now.

      posted in Mac
      A
      abaratz
    • RE: Installation on Second Mac

      @Russ Yes - I am running out of the applications folder. TC is showing up in the bottom running taskbar and at the top left as the application with focus. But, it is not in the menu bar. By the way, on my primary Mac, it shows up in the menu bar, but not in the task bar. As for running a command on the second Mac, I thought that if I created a command on the first Mac that had a voice command that included "on [voice name of second computer]" then it would run on the second computer. It sounds like I was wrong about that. Since I don't have TC in the menu bar, I don't know how to invoke the command editor on the second computer. Is there a way to directly invoke it? Thanks.

      posted in Mac
      A
      abaratz
    • Installation on Second Mac

      @Russ I just installed the agent on a second Mac running Sonoma 14.4.1. It is not showing up in the menu bar on the second Mac. It is running on the second Mac and it is showing up in the triggercmd web interface as one of my (online) computers. In addition, when I use the GUI interface on my first computer to create a command to run on the second computer, using "on" in the voice command is not directing the command to the second computer. (I have set the voice name for the second computer.) The command still shows up as targeted to my first (primary) computer. I don't see anything on the forums about this problem. Any help would be appreciated.

      posted in Mac
      A
      abaratz
    • RE: SmartThings Developer Mode

      Update: For anybody on the Apple ecosystem, I just used a workaround to solve the iOS ST developer mode problem. I installed the Android Studio on my Mac and used it to emulate an Android phone. I then installed Smartthings on the emulated phone and was able to enter developer mode to link to TriggerCMD.

      posted in General Discussion
      A
      abaratz
    • RE: SmartThings Developer Mode

      I have an iPhone with no access to an Android phone and I, too, am unable to access developer mode in the ST app. I have tried deleting the app and re-installing it, but still no success. I have looked in the ST user and developer websites for any information on the problem, but have not found anything helpful. Any suggestions? Thank you.

      posted in General Discussion
      A
      abaratz
    • RE: Running Shell Script

      @Russ Sure.

      Here is the shell script:

      #!/bin/bash
      if [ "$1" == "start" ]
      then
      open -a "Slack"
      open -a "Microsoft Outlook"
      open -a "Safari"
      else
      osascript ~/Smarthome/Closeallapps.scpt
      pmset sleepnow
      fi

      And here is the AppleScript for Closeallapps:

      tell application "Shortcuts Events"
      set theResult to run shortcut "Quit All Applications"
      end tell

      posted in Mac
      A
      abaratz
    • RE: Running Shell Script

      @Russ Nevermind :). I just saw another post on running shortcuts. I wrapped the shortcuts call in my shell script inside of a call to AppleScript for running the shortcut and that worked. Sorry to bother you.

      posted in Mac
      A
      abaratz
    • RE: Running Shell Script

      @Russ Actually, I just removed the call to shortcuts and it ran fine. Should I be doing something differently with respect to running a shortcut in the script? Thank you.

      posted in Mac
      A
      abaratz
    • RE: Running Shell Script

      @Russ Here you go. Thank you.

      #!/bin/bash
      if [ "$1" == "open" ]
      then
      open -a "Slack"
      open -a "Microsoft Outlook"
      open -a "Safari"
      else
      shortcuts run "Quit All Applications"
      pmset sleepnow
      fi

      posted in Mac
      A
      abaratz
    • Running Shell Script

      I am seeing strange behavior when running a shell script. I am using foreground. When I run the command from the GUI editor, it doesn't immediately run. If I close the editor and re-open it, the command runs immediately upon reopening the editor. If I try to run the command from Alexa, it doesn't run at all. I have another command that uses pmset and that one runs fine. Any ideas what's happening?

      posted in Mac
      A
      abaratz