Re: Tell Blocks Considered Harmful (was Re: open for access)
Re: Tell Blocks Considered Harmful (was Re: open for access)
- Subject: Re: Tell Blocks Considered Harmful (was Re: open for access)
- From: Shane Stanley <email@hidden>
- Date: Sat, 13 Dec 2008 17:44:16 +1100
- Thread-topic: Tell Blocks Considered Harmful (was Re: open for access)
On 13/12/08 3:17 PM, "Chris Page" <email@hidden> wrote:
> Do you have any scripts or applications that intentionally send scripting
> addition commands to other processes? If so, why?
I'd imagine the big ones among users are display dialog and the other UI
commands (display alert, choose from list, choose file, choose folder,
choose file name), for obvious reasons.
And the clipboard's dictionary says in part: " Use in a tell¹ block..."
There have also been a couple of apps that have implemented part of their
scripting through scripting additions -- QuarkXPress and Photoshop come to
mind. In both cases I *think* it related to implementing coercions.
The query I have with Hamish's proposal is with terminology conflicts: at
the moment, the app wins, so you can use, for example, the word "read"
within FileMaker's scope for FileMaker's use, and still call the scripting
addition by doing it outside the FileMaker tell block (or within a tell
block to another app if the script is being run by Filemaker itself); with
Hamish's proposal, it sounds like you'd effectively lose access to any app
function that had a conflicting name.
--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
_______________________________________________
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