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

    applescript

    Scheduled Pinned Locked Moved Mac
    7 Posts 3 Posters 2.0k 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.
    • C. consideringC Offline
      C. considering
      last edited by

      anyone know how to execute an applescript script from a trigger?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR Offline
        Russ @C. considering
        last edited by Russ

        @C-considering, according to this page, the command would be like this:

        osacript /folder/ScriptName.scpt
        

        Russell VanderMey

        G 1 Reply Last reply Reply Quote 0
        • C. consideringC Offline
          C. considering
          last edited by

          thanks, I appreciate it!

          1 Reply Last reply Reply Quote 0
          • tuicemenT tuicemen moved this topic from Instructions on
          • G Offline
            garym77 @Russ
            last edited by

            @Russ I have been struggling for weeks trying to ru an AppleScript from Triggercmd and have no success. I can run a one line with osascript - e, but not run a script ??? Using osascript /Users/skypad/G Dropbox/Scripts/TestGary.scpt . . . Nothing

            RussR 1 Reply Last reply Reply Quote 0
            • RussR Offline
              Russ @garym77
              last edited by Russ

              @garym77, you could try quoting the full path like this:

              osascript "/Users/skypad/G Dropbox/Scripts/TestGary.scpt"

              There's a space in your path, so I think osascript would think /Users/skypad/G is the first parameter and Dropbox/Scripts/TestGary.scpt is the second parameter if you don't quote it.

              Russell VanderMey

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                garym77 @Russ
                last edited by

                @Russ I reformatted the path and it is WORKING ! Like this osascript /Users/skypad/G\ Dropbox/Scripts/ASI\ Daily\ Info.scpt

                Thank You !

                RussR 1 Reply Last reply Reply Quote 0
                • RussR Offline
                  Russ @garym77
                  last edited by

                  Nice job @garym77. I guess it makes sense you'd have to escape the spaces with backslashes.

                  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