Lines Matching defs:script
69 #define kScriptFileName "script"
78 //maximum arguments the script accepts
88 static OSErr ExecuteScript(char *script, pid_t *pid);
127 // indicator of whether the script has completed executing
134 //arguments to the script
181 // compile "icon clicked" script so it's ready to execute
230 // TODO: remove (alert and touch moved to launcher script)
284 // Run a script via the system command
286 static OSErr ExecuteScript (char *script, pid_t *pid)
294 arguments[0] = script;
321 if (! (str = (char *)GetScript())) //get path to script to be executed
323 "\pError getting script from application bundle.");
333 // Get path to the script in Resources folder
343 //get CF URL for script
459 if (! taskDone && pid) { //kill the script process brutally
547 // but since it's there until the app is shut down, and since we know the script is okay,
569 /* put the script text into an aedesc */
573 /* compile the script */
583 /* run the script */