I was looking through older threads which helped me figure out how to call functions from other scripts–but I am stuck.
note: both scripts are in the same suite.
(* Common.script *) function launch944 pc, nme, role connect pc Typetext WindowsKey, "r" ... (do other stuff) end launch944 (* End Script *)
(* CenterScreenInitialization.script *) start using "Common" launch944 "F1", "HOST", "HOST" (* End script *)
Running the first script produces:
Selection Failed in 0:00:00 STUnknownMessage ERROR: No Such Command: 'launch944'
I actually had the code working once, but then it stopped and i had no recollection of what the correct parentheses were. I thought I had the call functional when I used this format: launch944(“F1”, “HOST”, “HOST”), but I read elsewhere that it should work as written above: launch944 “F1” “HOST” “HOST”
Anyone able to point out my stupid error?