Quantcast
Browsing latest articles
Browse All 8 View Live

Unable to call applescript from extension[CS6]

Hi, I need to mount the directory automatically through code. To accomplish this I've a Applescript but to run that script from action script I need do script to run. I saw the code in...

View Article


Re: Unable to call applescript from extension[CS6]

To run the script, you can use the NativeProcess API to launch the native script utility ("osascript" on Mac). Here's a quick example:  var scriptFile:File = new File('yourscript.scpt'); var...

View Article


Re: Unable to call applescript from extension[CS6]

Thanks a lot, it's allowing me to execute the applescript. Only thing I was wondering if could pass the parameter to applescript using above process because I need to pass the path of volume to be...

View Article

Image may be NSFW.
Clik here to view.

Re: Unable to call applescript from extension[CS6]

I got it  var scriptFile:File = new File('yourscript.scpt'); var scriptUtility:File = new File('/usr/bin/osascript'); if (scriptUtility.exists) {      var processInfo:NativeProcessStartupInfo = new...

View Article
Browsing latest articles
Browse All 8 View Live