Re: AppleScript cache and writing a scriptable app
Re: AppleScript cache and writing a scriptable app
- Subject: Re: AppleScript cache and writing a scriptable app
- From: Jon Pugh <email@hidden>
- Date: Wed, 26 Jul 2006 14:06:52 -0700
At 12:58 PM -0400 7/26/06, Michael McLaughlin wrote:
>In writing several scriptable, Carbon apps, I have often encountered a
>problem when I try to change an aete resource. It *appears* that
>AppleScript does some heavy-handed caching of existing dictionaries (or
>something like that) because, even when I change, say, an enumeration, the
>old values are still sent.
>
>Is this just me, or am I correct wrt the caching? If the latter, then is
>there any way to purge this cache so that a modified aete resource takes
>effect immediately?
Yes, the aete is cached by the AppleScript component. You need to quit and relaunch the Script Editor to refresh this cache.
I would also suggest that you consider purchasing Script Debugger, which can help you find terminology problems with it's enhanced dictionary and explorer windows.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden