Applescript Error w Pan 5

James Cook JC at JamesCook.biz
Sun Mar 9 06:26:03 PDT 2008


At 5:52 PM -0800 3/8/08, revDAVE wrote:
>global ScriptPath
>
>ScriptPath=folderpath(info("PanoramaFolder"))+"Scripts:test:"

Paths can cause all kinds of issues if they're wrong. If your global 
is holding a path that no longer exists after the procedure has run, 
it could affect its performance if you try to use or evaluate it 
later.

I've had otherwise inexplicable problems with Panorama failing to do 
other tasks properly once I've blown a gasket with a bad path. 
Possibly Applescript too has bad path hangover.

Try it with a new variable the second time and that should tell you 
if it has something to do with the paths.

-- 
James Cook
JC at JamesCook.biz
720-252-7042

Proficiencies
http://JamesCook.biz

Founder of HindSight Ltd.
http://HSLtd.us

Custom Panorama Applications
Specializing in Panorama Enterprise for the Web


More information about the Qna mailing list