• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript cache and writing a scriptable app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AppleScript cache and writing a scriptable app
      • From: Emmanuel <email@hidden>
References: 
 >AppleScript cache and writing a scriptable app (From: Michael McLaughlin <email@hidden>)

  • Prev by Date: Re: AppleScript cache and writing a scriptable app
  • Next by Date: Re: applescript to sort a list of tracks by most frequently played in the past 7 days
  • Previous by thread: Re: AppleScript cache and writing a scriptable app
  • Next by thread: Re: AppleScript cache and writing a scriptable app
  • Index(es):
    • Date
    • Thread