• 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: Reload Library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reload Library?


  • Subject: Re: Reload Library?
  • From: has <email@hidden>
  • Date: Fri, 20 May 2016 15:49:17 +0100

Christopher Stone <email@hidden> wrote:

If I have a library:

~/Library/Script Libraries/z_TestAE.scptd

And I call a handler from it with another script: [...]

Then I change the library handler and save it.

I also recompile and save the calling script.

FastScripts will still call the originally loaded version of the library and NOT the updated version.


Does FastScripts automatically [re]load script files before each run/after file updates? If not, you'll likely need to relaunch it as well for it to pick up the changes. I don't know how FS runs AS scripts, but if it runs them in-process then it may only read them once on launch/first use or not reload them automatically when their modification dates change (particularly if they're in .scptd format where the actual .scpt file is buried several directories down). Best to ask Read Sweater directly.

HTH

has

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Reload Library?
  • Next by Date: Re: Library Use Statement Question
  • Previous by thread: Re: Reload Library?
  • Next by thread: Re: Reload Library?
  • Index(es):
    • Date
    • Thread