• 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: Deivy Petrescu <email@hidden>
  • Date: Thu, 19 May 2016 16:31:08 -0400

Recently I was editing a library and did not experience this.
Changes were immediately loaded when the library was saved and the script recompiled.


> On May 19, 2016, at 16:20 , Christopher Stone <email@hidden> wrote:
>
> Hey Folks,
>
> If I have a library:
>
> ~/Library/Script Libraries/z_TestAE.scptd
>
> And I call a handler from it with another script:
>
> ---------------------------------------------
> use zTestLb : script "z_Test"
> use scripting additions
>
> set theText to zTestLb's TEST_LIBRARY_HANDLER()
> display alert theText
> ---------------------------------------------
>
> 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.
>
> This also happens with some peculiarities in Script Debugger 5.
>
> Is there a way to force the library to be reloaded in the calling script?
>
> --
> Best Regards,
> Chris
>
> _______________________________________________
> 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

Deivy Petrescu
email@hidden




 _______________________________________________
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


  • Follow-Ups:
    • Re: Reload Library?
      • From: Christopher Stone <email@hidden>
References: 
 >Reload Library? (From: Christopher Stone <email@hidden>)

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