Re: Using Scripting Additions Commands
Re: Using Scripting Additions Commands
- Subject: Re: Using Scripting Additions Commands
- From: Shane Stanley <email@hidden>
- Date: Wed, 1 Nov 2017 09:21:28 +1100
On 1 Nov 2017, at 7:01 am, Jim Underwood <email@hidden> wrote:
>
> Has this changed since that document was published?
Yes. That document pre-dates OS X.
There have been several changes over the years, largely driven by security
concerns. It's worth reading the release notes for 10.6 to see the original
changes, and there's some more info in the 10.9 release notes. The AppleScript
Language Guide section on the "use" statement also explains how it makes
scripting addition commands more efficient.
The short summary: Standard Addition commands that show dialogs can be included
in tell blocks directed at other than the host application, as can ASCII
character, ASCII number, offset, random number, and round. Others should, for
efficiency's sake, be left outside tell blocks, because they'll just need to be
redirected anyway (and in some cases just won't work).
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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