Re: Disappearing OSAX
Re: Disappearing OSAX
- Subject: Re: Disappearing OSAX
- From: JJ <email@hidden>
- Date: Mon, 11 Feb 2002 22:50:09 +0100
>
Occasionally, and with increasing frequency, my scripts won't compile
>
because they don't recognize certain commands from scripting additions.
>
Usually it's Standard Additions but I had it happen with Akua Sweets
>
yesterday. If I open the Scripting Additions folder, drag the problem
>
scripting addition to the desktop, and drop it back into the folder the
>
script will compile again.
>
>
Does anyone know the cause of this phenomena? A solution to it?
Some times, just after launching the Script Editor (after restarting), I
can't take scripting addition commands to compile until "AppleScript is
activated". The solution posted here many times is "brute force" AS to
activate using:
try
+event ascrgdut;
on error
end try
OR
run script ... some code
"ascrgdut" is the internal appleevent AS display when it is launched (i. e.,
running an applet).
Also, running some apps, such as Smile or Script Debugger, will deploy the
AS environment and your scripting additions' commands will compile ok.
Perhaps this is your problem (?)
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.