Applescript Error w Pan 5
David Thompson
dthmpsn1 at uiuc.edu
Sat Mar 8 19:17:05 PST 2008
I don't have any explanation. There have been a number of issues with
the StartScript command on OS X, but the usual error is that it can't
find the resource, and it doesn't even work once. Panorama V and
Panorama 5.5 both offer easier ways to do this than using an external
AppleScript. The easiest would probably be
Speak ID
and the next easiest would be
ExecuteAppleScript "say "+applescriptstring(ID)
Dave
>Using Panorama 5.0 & 10.4.10 w G4 Desktop
>
>
>This simple script always used to work - now it works the 1st time only
>after restarting PANORAMA - then says AS execution error every other
>time....
>
>The procedure:------------------
>
>global ScriptPath
>
>ScriptPath=folderpath(info("PanoramaFolder"))+"Scripts:test:"
>
>startscript ScriptPath+"test1.scpt"
>
>
>And the applescript:-----------
>
>
>
>tell application "Panorama"
> activate
> set theid to Value of Cell "ID"
>end tell
>
>
>say theid
>
>
>Q: Any idea why I keep getting execution error after the first time? Is it
>the OS - or PAN 5 or xxx?
More information about the Qna
mailing list