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

    Topics created by abaratz

    • A

      Agent in macOS Sonoma Task Bar

      General Discussion
      • • • abaratz
      4
      0
      Votes
      4
      Posts
      206
      Views

      RussR

      @abaratz, awesome. Thanks for confirming.

    • A

      Installation on Second Mac

      Mac
      • • • abaratz
      14
      0
      Votes
      14
      Posts
      639
      Views

      RussR

      @abaratz, you're welcome. I'm glad that worked as a work-around. Thank you for reporting the problem too.

      If anyone else experiences this problem, please tell me.

    • A

      Running Shell Script

      Mac
      • • • abaratz
      7
      0
      Votes
      7
      Posts
      427
      Views

      A

      @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