Re: Reload Library?
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