Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript cache and writing a scriptable app



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >AppleScript cache and writing a scriptable app (From: Michael McLaughlin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.