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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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