Re: Can't get getOSAID of «script»
Re: Can't get getOSAID of «script»
- Subject: Re: Can't get getOSAID of «script»
- From: Neil Faiman <email@hidden>
- Date: Sun, 14 Aug 2016 22:27:42 -0400
- X_cmae_category: , ,
> On Aug 14, 2016, at 7:51 PM, Shane Stanley <email@hidden> wrote:
>
> On 15 Aug 2016, at 9:32 AM, Neil Faiman <email@hidden> wrote:
>>
>> set zbaLib to load script file ((path to scripting additions from user domain as text) & "ZBA:zba.lib")
>
> You're giving what are presumably .scpt files a .lib extension? Doesn't sound a healthy thing to do.
>
> Apart from that, try adding a call to one of the scripts' handlers immediately after they've been loaded, to see if they've been loaded OK.
Calling one of the handlers from the loaded script right after it is loaded works fine.
And note that the failure occurs not on an attempt to call the loaded script,but simply on an attempt to fetch it from a property of the AppDelegate script.
_______________________________________________
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