macOS Mojave, Automator “Not authorized to send Apple events to System Events.”











up vote
19
down vote

favorite
4












After I updated to Mojave, I can't no longer use the automator service I've previously been using with the alert below.
enter image description here




  • In Security & Privacy, I already checked AppleScript Editor.


Do you see any problem with my code or is this the problem of the newest macOS?



Script



on run {input, parameters}
set pathList to {}
repeat with itemNum from 1 to count of input
tell application "System Events"
copy POSIX path of (container of (item itemNum of input)) to end of pathList
end tell
end repeat
return pathList
end run


enter image description here



enter image description here










share|improve this question


























    up vote
    19
    down vote

    favorite
    4












    After I updated to Mojave, I can't no longer use the automator service I've previously been using with the alert below.
    enter image description here




    • In Security & Privacy, I already checked AppleScript Editor.


    Do you see any problem with my code or is this the problem of the newest macOS?



    Script



    on run {input, parameters}
    set pathList to {}
    repeat with itemNum from 1 to count of input
    tell application "System Events"
    copy POSIX path of (container of (item itemNum of input)) to end of pathList
    end tell
    end repeat
    return pathList
    end run


    enter image description here



    enter image description here










    share|improve this question
























      up vote
      19
      down vote

      favorite
      4









      up vote
      19
      down vote

      favorite
      4






      4





      After I updated to Mojave, I can't no longer use the automator service I've previously been using with the alert below.
      enter image description here




      • In Security & Privacy, I already checked AppleScript Editor.


      Do you see any problem with my code or is this the problem of the newest macOS?



      Script



      on run {input, parameters}
      set pathList to {}
      repeat with itemNum from 1 to count of input
      tell application "System Events"
      copy POSIX path of (container of (item itemNum of input)) to end of pathList
      end tell
      end repeat
      return pathList
      end run


      enter image description here



      enter image description here










      share|improve this question













      After I updated to Mojave, I can't no longer use the automator service I've previously been using with the alert below.
      enter image description here




      • In Security & Privacy, I already checked AppleScript Editor.


      Do you see any problem with my code or is this the problem of the newest macOS?



      Script



      on run {input, parameters}
      set pathList to {}
      repeat with itemNum from 1 to count of input
      tell application "System Events"
      copy POSIX path of (container of (item itemNum of input)) to end of pathList
      end tell
      end repeat
      return pathList
      end run


      enter image description here



      enter image description here







      automator macos-mojave






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 12 at 6:55









      Travelholics

      15817




      15817
























          5 Answers
          5






          active

          oldest

          votes

















          up vote
          11
          down vote



          accepted










          This is definitely a part of Mojave's new security framework. In terminal try



          osascript -e 'tell application "Finder"' -e 'set _b to bounds of window of desktop' -e 'end tell'


          and you may receive:



          36:42: execution error: Not authorized to send Apple events to Finder. (-1743)


          What is supposed to happen on the first execution is the Finder opens a dialog box informing you that terminal is requesting permission to send events to the Finder. If you allow it, then terminal will get added to the Automation page in System Preferences > Security & Privacy > Automation:



          enter image description here



          There's two issues that I see at the moment:




          • the implementation of requesting permission for the scripting action appears to be bugged; I've run other scripts that request permission to send events to Safari and the Finder doesn't prompt for permission, it just returns an error.

          • streamlined automation requires some type of mechanism to have the permissions granted a priori; an example would be utilizing AppleScript with Ansible and being unable to preload grants


          Others have written up more extensive information about this:




          • https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

          • https://forums.developer.apple.com/thread/106949


          Hopefully this gets worked out before Mojave ships as it seriously impacts automation capabilities on macOS.






          share|improve this answer





















          • Thanks, Joe. I can see the problem I have more clearly.
            – Travelholics
            Aug 16 at 2:44










          • Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
            – Joe
            Aug 22 at 19:28


















          up vote
          6
          down vote













          I had a similar error running AppleScript .app applications. I received the following error:



          Not authorized to send Apple events to Finder. (-1743)


          A workaround is to re-export the Application from the .scpt or .applescript source code. This generates a new .app application, which in my case ran successfully. The initial launch required approval (as well as some subsequent launches), and the application was added as an entry under Settings -> Security & Privacy -> Privacy -> Automation.






          share|improve this answer




























            up vote
            5
            down vote













            UPDATE: Updating to the latest Public Beta (as of 4 August 2018) fixed the issue for me. Prior to this, the issue did persist in all public betas of Mojave.





            Original reply:



            Just wanted to let you know that both myself and another friend are experiencing this exact same problem, with different Automator workflows that use Applescript (different than yours). We have the problem occurring with both manual activation (Finder --> Services --> click item) and with keyboard shortcut activation.



            Even stranger, the workflow performs beautifully when testing inside Automator.



            I've filed a bug report through the Feedback Assistant, and suggest to anyone else who sees this that you do too! Squeaky wheel and all...



            Automator - Permissions error. "The action “Run AppleScript” encountered an error: “Not authorized to send Apple events to System Events.”"



            Automator workflow performing well inside Automator






            share|improve this answer























            • Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
              – Travelholics
              Jul 14 at 4:28










            • +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
              – Kush131
              Jul 24 at 17:33






            • 2




              It seems it still doesn't have a luck on beta 5..
              – Travelholics
              Aug 2 at 7:14






            • 1




              Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
              – Tetsujin
              Aug 8 at 8:13


















            up vote
            5
            down vote













            Here is what I did that resolved the issue for me. I went to System Preferences > Security & Privacy > Accessibility (Options on left hand side) > (Enter system password) > Click Automator (or your app you want to enable) and TADA it works.






            share|improve this answer





















            • This works perfect to me.
              – neo
              Oct 8 at 10:09












            • This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
              – Ali Nem
              7 hours ago




















            up vote
            0
            down vote













            I faced same error opening gitk.




            Error in startup script: execution error: Not authorised to
            send Apple events to System Events. (-1743)






            SOLUTION



            Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.



            enter image description here






            share|improve this answer





















              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51299066%2fmacos-mojave-automator-not-authorized-to-send-apple-events-to-system-events%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              5 Answers
              5






              active

              oldest

              votes








              5 Answers
              5






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              11
              down vote



              accepted










              This is definitely a part of Mojave's new security framework. In terminal try



              osascript -e 'tell application "Finder"' -e 'set _b to bounds of window of desktop' -e 'end tell'


              and you may receive:



              36:42: execution error: Not authorized to send Apple events to Finder. (-1743)


              What is supposed to happen on the first execution is the Finder opens a dialog box informing you that terminal is requesting permission to send events to the Finder. If you allow it, then terminal will get added to the Automation page in System Preferences > Security & Privacy > Automation:



              enter image description here



              There's two issues that I see at the moment:




              • the implementation of requesting permission for the scripting action appears to be bugged; I've run other scripts that request permission to send events to Safari and the Finder doesn't prompt for permission, it just returns an error.

              • streamlined automation requires some type of mechanism to have the permissions granted a priori; an example would be utilizing AppleScript with Ansible and being unable to preload grants


              Others have written up more extensive information about this:




              • https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

              • https://forums.developer.apple.com/thread/106949


              Hopefully this gets worked out before Mojave ships as it seriously impacts automation capabilities on macOS.






              share|improve this answer





















              • Thanks, Joe. I can see the problem I have more clearly.
                – Travelholics
                Aug 16 at 2:44










              • Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
                – Joe
                Aug 22 at 19:28















              up vote
              11
              down vote



              accepted










              This is definitely a part of Mojave's new security framework. In terminal try



              osascript -e 'tell application "Finder"' -e 'set _b to bounds of window of desktop' -e 'end tell'


              and you may receive:



              36:42: execution error: Not authorized to send Apple events to Finder. (-1743)


              What is supposed to happen on the first execution is the Finder opens a dialog box informing you that terminal is requesting permission to send events to the Finder. If you allow it, then terminal will get added to the Automation page in System Preferences > Security & Privacy > Automation:



              enter image description here



              There's two issues that I see at the moment:




              • the implementation of requesting permission for the scripting action appears to be bugged; I've run other scripts that request permission to send events to Safari and the Finder doesn't prompt for permission, it just returns an error.

              • streamlined automation requires some type of mechanism to have the permissions granted a priori; an example would be utilizing AppleScript with Ansible and being unable to preload grants


              Others have written up more extensive information about this:




              • https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

              • https://forums.developer.apple.com/thread/106949


              Hopefully this gets worked out before Mojave ships as it seriously impacts automation capabilities on macOS.






              share|improve this answer





















              • Thanks, Joe. I can see the problem I have more clearly.
                – Travelholics
                Aug 16 at 2:44










              • Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
                – Joe
                Aug 22 at 19:28













              up vote
              11
              down vote



              accepted







              up vote
              11
              down vote



              accepted






              This is definitely a part of Mojave's new security framework. In terminal try



              osascript -e 'tell application "Finder"' -e 'set _b to bounds of window of desktop' -e 'end tell'


              and you may receive:



              36:42: execution error: Not authorized to send Apple events to Finder. (-1743)


              What is supposed to happen on the first execution is the Finder opens a dialog box informing you that terminal is requesting permission to send events to the Finder. If you allow it, then terminal will get added to the Automation page in System Preferences > Security & Privacy > Automation:



              enter image description here



              There's two issues that I see at the moment:




              • the implementation of requesting permission for the scripting action appears to be bugged; I've run other scripts that request permission to send events to Safari and the Finder doesn't prompt for permission, it just returns an error.

              • streamlined automation requires some type of mechanism to have the permissions granted a priori; an example would be utilizing AppleScript with Ansible and being unable to preload grants


              Others have written up more extensive information about this:




              • https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

              • https://forums.developer.apple.com/thread/106949


              Hopefully this gets worked out before Mojave ships as it seriously impacts automation capabilities on macOS.






              share|improve this answer












              This is definitely a part of Mojave's new security framework. In terminal try



              osascript -e 'tell application "Finder"' -e 'set _b to bounds of window of desktop' -e 'end tell'


              and you may receive:



              36:42: execution error: Not authorized to send Apple events to Finder. (-1743)


              What is supposed to happen on the first execution is the Finder opens a dialog box informing you that terminal is requesting permission to send events to the Finder. If you allow it, then terminal will get added to the Automation page in System Preferences > Security & Privacy > Automation:



              enter image description here



              There's two issues that I see at the moment:




              • the implementation of requesting permission for the scripting action appears to be bugged; I've run other scripts that request permission to send events to Safari and the Finder doesn't prompt for permission, it just returns an error.

              • streamlined automation requires some type of mechanism to have the permissions granted a priori; an example would be utilizing AppleScript with Ansible and being unable to preload grants


              Others have written up more extensive information about this:




              • https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave

              • https://forums.developer.apple.com/thread/106949


              Hopefully this gets worked out before Mojave ships as it seriously impacts automation capabilities on macOS.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Aug 14 at 17:44









              Joe

              1,4601330




              1,4601330












              • Thanks, Joe. I can see the problem I have more clearly.
                – Travelholics
                Aug 16 at 2:44










              • Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
                – Joe
                Aug 22 at 19:28


















              • Thanks, Joe. I can see the problem I have more clearly.
                – Travelholics
                Aug 16 at 2:44










              • Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
                – Joe
                Aug 22 at 19:28
















              Thanks, Joe. I can see the problem I have more clearly.
              – Travelholics
              Aug 16 at 2:44




              Thanks, Joe. I can see the problem I have more clearly.
              – Travelholics
              Aug 16 at 2:44












              Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
              – Joe
              Aug 22 at 19:28




              Basic testing leads me to believe that the expected functionality of being prompted for permission to allow AppleScript events is working in 10.14 Beta 8 (18A371a). That still doesn't answer the question as to whether or not AppleScript applications can be preauthorized for automation purposes.
              – Joe
              Aug 22 at 19:28












              up vote
              6
              down vote













              I had a similar error running AppleScript .app applications. I received the following error:



              Not authorized to send Apple events to Finder. (-1743)


              A workaround is to re-export the Application from the .scpt or .applescript source code. This generates a new .app application, which in my case ran successfully. The initial launch required approval (as well as some subsequent launches), and the application was added as an entry under Settings -> Security & Privacy -> Privacy -> Automation.






              share|improve this answer

























                up vote
                6
                down vote













                I had a similar error running AppleScript .app applications. I received the following error:



                Not authorized to send Apple events to Finder. (-1743)


                A workaround is to re-export the Application from the .scpt or .applescript source code. This generates a new .app application, which in my case ran successfully. The initial launch required approval (as well as some subsequent launches), and the application was added as an entry under Settings -> Security & Privacy -> Privacy -> Automation.






                share|improve this answer























                  up vote
                  6
                  down vote










                  up vote
                  6
                  down vote









                  I had a similar error running AppleScript .app applications. I received the following error:



                  Not authorized to send Apple events to Finder. (-1743)


                  A workaround is to re-export the Application from the .scpt or .applescript source code. This generates a new .app application, which in my case ran successfully. The initial launch required approval (as well as some subsequent launches), and the application was added as an entry under Settings -> Security & Privacy -> Privacy -> Automation.






                  share|improve this answer












                  I had a similar error running AppleScript .app applications. I received the following error:



                  Not authorized to send Apple events to Finder. (-1743)


                  A workaround is to re-export the Application from the .scpt or .applescript source code. This generates a new .app application, which in my case ran successfully. The initial launch required approval (as well as some subsequent launches), and the application was added as an entry under Settings -> Security & Privacy -> Privacy -> Automation.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 28 at 0:21









                  Daniel S.

                  8331811




                  8331811






















                      up vote
                      5
                      down vote













                      UPDATE: Updating to the latest Public Beta (as of 4 August 2018) fixed the issue for me. Prior to this, the issue did persist in all public betas of Mojave.





                      Original reply:



                      Just wanted to let you know that both myself and another friend are experiencing this exact same problem, with different Automator workflows that use Applescript (different than yours). We have the problem occurring with both manual activation (Finder --> Services --> click item) and with keyboard shortcut activation.



                      Even stranger, the workflow performs beautifully when testing inside Automator.



                      I've filed a bug report through the Feedback Assistant, and suggest to anyone else who sees this that you do too! Squeaky wheel and all...



                      Automator - Permissions error. "The action “Run AppleScript” encountered an error: “Not authorized to send Apple events to System Events.”"



                      Automator workflow performing well inside Automator






                      share|improve this answer























                      • Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                        – Travelholics
                        Jul 14 at 4:28










                      • +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                        – Kush131
                        Jul 24 at 17:33






                      • 2




                        It seems it still doesn't have a luck on beta 5..
                        – Travelholics
                        Aug 2 at 7:14






                      • 1




                        Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                        – Tetsujin
                        Aug 8 at 8:13















                      up vote
                      5
                      down vote













                      UPDATE: Updating to the latest Public Beta (as of 4 August 2018) fixed the issue for me. Prior to this, the issue did persist in all public betas of Mojave.





                      Original reply:



                      Just wanted to let you know that both myself and another friend are experiencing this exact same problem, with different Automator workflows that use Applescript (different than yours). We have the problem occurring with both manual activation (Finder --> Services --> click item) and with keyboard shortcut activation.



                      Even stranger, the workflow performs beautifully when testing inside Automator.



                      I've filed a bug report through the Feedback Assistant, and suggest to anyone else who sees this that you do too! Squeaky wheel and all...



                      Automator - Permissions error. "The action “Run AppleScript” encountered an error: “Not authorized to send Apple events to System Events.”"



                      Automator workflow performing well inside Automator






                      share|improve this answer























                      • Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                        – Travelholics
                        Jul 14 at 4:28










                      • +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                        – Kush131
                        Jul 24 at 17:33






                      • 2




                        It seems it still doesn't have a luck on beta 5..
                        – Travelholics
                        Aug 2 at 7:14






                      • 1




                        Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                        – Tetsujin
                        Aug 8 at 8:13













                      up vote
                      5
                      down vote










                      up vote
                      5
                      down vote









                      UPDATE: Updating to the latest Public Beta (as of 4 August 2018) fixed the issue for me. Prior to this, the issue did persist in all public betas of Mojave.





                      Original reply:



                      Just wanted to let you know that both myself and another friend are experiencing this exact same problem, with different Automator workflows that use Applescript (different than yours). We have the problem occurring with both manual activation (Finder --> Services --> click item) and with keyboard shortcut activation.



                      Even stranger, the workflow performs beautifully when testing inside Automator.



                      I've filed a bug report through the Feedback Assistant, and suggest to anyone else who sees this that you do too! Squeaky wheel and all...



                      Automator - Permissions error. "The action “Run AppleScript” encountered an error: “Not authorized to send Apple events to System Events.”"



                      Automator workflow performing well inside Automator






                      share|improve this answer














                      UPDATE: Updating to the latest Public Beta (as of 4 August 2018) fixed the issue for me. Prior to this, the issue did persist in all public betas of Mojave.





                      Original reply:



                      Just wanted to let you know that both myself and another friend are experiencing this exact same problem, with different Automator workflows that use Applescript (different than yours). We have the problem occurring with both manual activation (Finder --> Services --> click item) and with keyboard shortcut activation.



                      Even stranger, the workflow performs beautifully when testing inside Automator.



                      I've filed a bug report through the Feedback Assistant, and suggest to anyone else who sees this that you do too! Squeaky wheel and all...



                      Automator - Permissions error. "The action “Run AppleScript” encountered an error: “Not authorized to send Apple events to System Events.”"



                      Automator workflow performing well inside Automator







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Aug 5 at 2:53

























                      answered Jul 13 at 21:26









                      Mr. Bubbles

                      514




                      514












                      • Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                        – Travelholics
                        Jul 14 at 4:28










                      • +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                        – Kush131
                        Jul 24 at 17:33






                      • 2




                        It seems it still doesn't have a luck on beta 5..
                        – Travelholics
                        Aug 2 at 7:14






                      • 1




                        Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                        – Tetsujin
                        Aug 8 at 8:13


















                      • Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                        – Travelholics
                        Jul 14 at 4:28










                      • +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                        – Kush131
                        Jul 24 at 17:33






                      • 2




                        It seems it still doesn't have a luck on beta 5..
                        – Travelholics
                        Aug 2 at 7:14






                      • 1




                        Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                        – Tetsujin
                        Aug 8 at 8:13
















                      Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                      – Travelholics
                      Jul 14 at 4:28




                      Hmm... I understand that you might have had the same problem like mine because all of my services which made via automator don't work with the alert box. I guess I should wait and see..
                      – Travelholics
                      Jul 14 at 4:28












                      +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                      – Kush131
                      Jul 24 at 17:33




                      +1 to this issue. I can run the script inside of the Script editor just fine, but as soon as I make it a quick action or an application and try to launch it fails.
                      – Kush131
                      Jul 24 at 17:33




                      2




                      2




                      It seems it still doesn't have a luck on beta 5..
                      – Travelholics
                      Aug 2 at 7:14




                      It seems it still doesn't have a luck on beta 5..
                      – Travelholics
                      Aug 2 at 7:14




                      1




                      1




                      Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                      – Tetsujin
                      Aug 8 at 8:13




                      Beta 4 you could 'fix' by copy/pasting to a new script & re-saving. Beta 5 this no longer works & the error is back with a vengeance.
                      – Tetsujin
                      Aug 8 at 8:13










                      up vote
                      5
                      down vote













                      Here is what I did that resolved the issue for me. I went to System Preferences > Security & Privacy > Accessibility (Options on left hand side) > (Enter system password) > Click Automator (or your app you want to enable) and TADA it works.






                      share|improve this answer





















                      • This works perfect to me.
                        – neo
                        Oct 8 at 10:09












                      • This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                        – Ali Nem
                        7 hours ago

















                      up vote
                      5
                      down vote













                      Here is what I did that resolved the issue for me. I went to System Preferences > Security & Privacy > Accessibility (Options on left hand side) > (Enter system password) > Click Automator (or your app you want to enable) and TADA it works.






                      share|improve this answer





















                      • This works perfect to me.
                        – neo
                        Oct 8 at 10:09












                      • This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                        – Ali Nem
                        7 hours ago















                      up vote
                      5
                      down vote










                      up vote
                      5
                      down vote









                      Here is what I did that resolved the issue for me. I went to System Preferences > Security & Privacy > Accessibility (Options on left hand side) > (Enter system password) > Click Automator (or your app you want to enable) and TADA it works.






                      share|improve this answer












                      Here is what I did that resolved the issue for me. I went to System Preferences > Security & Privacy > Accessibility (Options on left hand side) > (Enter system password) > Click Automator (or your app you want to enable) and TADA it works.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Oct 4 at 16:54









                      lrosal

                      5111




                      5111












                      • This works perfect to me.
                        – neo
                        Oct 8 at 10:09












                      • This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                        – Ali Nem
                        7 hours ago




















                      • This works perfect to me.
                        – neo
                        Oct 8 at 10:09












                      • This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                        – Ali Nem
                        7 hours ago


















                      This works perfect to me.
                      – neo
                      Oct 8 at 10:09






                      This works perfect to me.
                      – neo
                      Oct 8 at 10:09














                      This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                      – Ali Nem
                      7 hours ago






                      This works, but with a little difference: System Preferences > Security & Privacy> Automation > checkmark 'System Events' under the app you want to enable > Enter system password
                      – Ali Nem
                      7 hours ago












                      up vote
                      0
                      down vote













                      I faced same error opening gitk.




                      Error in startup script: execution error: Not authorised to
                      send Apple events to System Events. (-1743)






                      SOLUTION



                      Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.



                      enter image description here






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        I faced same error opening gitk.




                        Error in startup script: execution error: Not authorised to
                        send Apple events to System Events. (-1743)






                        SOLUTION



                        Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.



                        enter image description here






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I faced same error opening gitk.




                          Error in startup script: execution error: Not authorised to
                          send Apple events to System Events. (-1743)






                          SOLUTION



                          Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.



                          enter image description here






                          share|improve this answer












                          I faced same error opening gitk.




                          Error in startup script: execution error: Not authorised to
                          send Apple events to System Events. (-1743)






                          SOLUTION



                          Goto Settings -> Security & Privacy -> Privacy -> Automation -> Privacy tab and check the System Events checkbox.



                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 19 at 18:22









                          Abdullah

                          1,2651123




                          1,2651123






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51299066%2fmacos-mojave-automator-not-authorized-to-send-apple-events-to-system-events%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Create new schema in PostgreSQL using DBeaver

                              Deepest pit of an array with Javascript: test on Codility

                              Costa Masnaga