Re: Old scripts failing
Re: Old scripts failing
- Subject: Re: Old scripts failing
- From: Christopher Stone <email@hidden>
- Date: Tue, 16 Apr 2019 12:46:10 -0500
On 04/15/2019, at 22:03, Steve Mills <email@hidden <mailto:email@hidden>>
wrote:
>> On Apr 15, 2019, at 18:58:43, Robert Poland <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>> What’s changed? Do I need the “Use” gibberish to make it work now?
>
> I dunno. I made a new script in ScriptDebugger, which automatically added:
>
> use AppleScript version "2.4" -- Yosemite (10.10) or later
> use scripting additions
Use headers are completely unnecessary, unless you're using AppleScriptObjC or
otherwise want to adjust the scope of the script.
In my opinion it's not a good idea to add them to regular AppleScripts, because
then it looks at a glance like they're AppleScriptObjC.
--
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