I’m trying to find an example of how to use the “application.executeProgram(Object)” function. Since I’m on OS X, what does “specify the cmd as you would do in a console” mean for me?
I would like to be able to call an applescript somehow from Servoy and was hoping I could do something along the lines of: “application.executeProgram(‘osascript script_file_name’)” where “osascript script_file_name” is what I would type in OS X Terminal application to run an applescript contained in a file.
This works with developer with the file “beep” is in the Servoy application folder:
application.executeProgram(‘osascript’, ‘beep’);
Where do I put the file so Servoy client will run it? I’ve tried the local folder where the servoy client app is at as well as Java Web Start directory where there are a bunch of servoy client files.