Hi Marcel,
I enclose the Automator Action (Servoy Automator) as a zip file. As you will see I have also made a custom icon combining the Servoy icon with the Automator one so it can be easily recognized on the dock or the desktop.
After unzipping you must change 2 lines in the file "document.wflow" inside the application package. These are the steps:
a) right click on the "Servoy Automator" application and select "Show Package Contents";
b) using a text editor (such as BBEdit, TextWrangler, Smultron, Editra, aso) search the following text (it starts at line 51)
- Code: Select all
<array>
<string>~/Servoy 5.2/servoy_workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/globals.js.launch</string>
</array>
and modify the text between <string> and </string> for the path to the "globals.js.launch" file on your disk (you could just change the string "~/Servoy 5.2/servoy_workspace/" to path of your Eclipse workspace folder)
c) do the same for the string (at line 325)
- Code: Select all
<dict>
<key>appPath</key>
<string>~/Servoy 5.2/developer/servoy.app</string>
</dict>
Change the text enclosed in <string></string> to the path of the Servoy application. Here too it would suffice to change the string "~/Servoy 5.2/" to the location of you Servoy developer folder.
I am not sure (I have used this application on my computer only), but it may be necessary to change the Servoy Automator privileges (cmd-i on the application icon and set the administrator name with read & write privileges)