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

    Best posts made by 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: 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