Re: Creator type of packaged app bug?
Re: Creator type of packaged app bug?
- Subject: Re: Creator type of packaged app bug?
- From: Jon Pugh <email@hidden>
- Date: Mon, 7 Jul 2003 23:09:21 -0700
At 8:46 PM -0700 7/7/03, Jon Pugh wrote:
>
At 7:47 AM -0700 7/7/03, Paul Berkowitz wrote:
>
>Something gets lost
>
>in the translation where SE 2.0 beta is concerned: for example 'folder', and
>
>'disk' become recompiled as raw code in pre-existing scripts, and will not
>
>compile at all as 'folder' or 'disk' in new scripts.
>
>
This typically happens when AppleScript does not get a response to the Get Terminology event that it sends to applications the first time it encounters them in a tell block. Since it caches this information, if the first event fails, typically because the application is already doing something lengthy and simply doesn't answer in time, then it is cached as failing, and there is no terminology.
>
>
Another popular way to get in this situation is to choose the wrong application when AppleScript asks you to find an application, but that doesn't sound applicable in this case and anyhow, that changes the name in the tell statement.
>
>
So, I'm guessing that the Get Terminology event fails.
And I should mention that shutting down the script editor and relaunching it is the fix for when you get into this state.
On systems < X you need to shut down all AppleScript instances (i.e. all script editors and script runners). Some people restart, but that's the "nuke it from orbit" approach and this isn't that scary.
Jon
_______________________________________________
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.