Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Many automator actions failing since Mavericks

I have several automator actions that previoulsy worked fine and now are failing under Mavericks with no errors or console message thrown and I am stumped as to what the problem is. Most are simple automator actions with some basic AppleSript and shell scripting usually affecting a Finder selection. One example is a simple Automator action where I select a file/folder and run automator to create a soft link (ln -s) in another location. Again - no errors are thrown and running the action from within Automator works fine - just not in the FInder when using the contextual menus and automator actions.


Any clues on what might be going on?

iMac, OS X Mavericks (10.9)

Posted on Oct 24, 2013 8:36 AM

Reply
26 replies

Oct 26, 2013 8:03 AM in response to bluehz

I'm having a lot of issues as well, mainly in "Watch me do" actions (clicking buttons on applications in my case). They are all failing now. I even tried creating a new one, which works flawlessly when I run it from automator, but fails every time "Automator encountered an error with Watch me Do action" when it runs on its own. Really frustrating.

Oct 30, 2013 10:50 AM in response to bluehz

Similar to the above.

  • Applescript working fine when run within automator but fails when run "as application"
  • Old "watch me do"s not running ---> rerecorded
    • Some rerecorded ones working within automator but fails when run "as application"
    • Some rerecorded ones not even working within automator


As a test I tried the following:

  • Created a "watch me do" using record but taking no action (i.e. a blank "watch me do") --> fails as application
  • Created a "watch me do" consisting of opening system preferences and closing it again ---> fails as application
  • Created a "watch me do" using the automator-->utilities--->Watch me do (no actions)--> fails as application


Anyway glad it's not just me.

Nov 8, 2013 7:01 AM in response to Jossunen

Enabling access for GUI scripting is on a per-application basis in Mavericks. Each individual application will need to be added to the Accessibility privacy list or granted access via the dialog(s). Note that altering the application (such as changing the Watch Me Do scripting) will cause the system to see it as something different, so the process will need to be repeated for the new application. See Apple's support document http://support.apple.com/kb/HT5914 for more information.

Dec 6, 2013 8:29 AM in response to bluehz

I have used Automator with ARD to do a lot of clean-up tasks in my lab, including deleting the files on the desktops of the remote computers. It used to work fine with Mountain Lion, until I updated to Mavericks.


The Automator script that is failing is this:


osascript -e 'tell application "Finder" to delete every item of the desktop whose class is not disk'


The error that is reported back to ARD is this:


Error: 1 "29:85: execution error: Unknown object type. (-1731)"


Any ideas on how to fix this?

Many automator actions failing since Mavericks

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.