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: Philip Aker <email@hidden>
- Date: Wed, 3 Dec 2008 03:33:08 -0800
On 2008-12-03, at 03:14:22, Philip Aker wrote: On 2008-12-02, at 20:51:03, Chris Page wrote:
It is an accident of history that scripting additions enable arbitrary programs to respond to events they were not explicitly designed to support.
The historical tragedy will be if modern AppleScript doesn't address the problem.
set provider_list to loaded providers --> {"com.apple.osax.standardadditions", "ca.aker.osax.metadata", "fr.satimage.osax.smile", …}
tell provider "com.apple.finder" tell provider "com.apple.osax.standardadditions" set f to open for access hfspath -- code hunk
Hence:
associate fndr with provider "com.apple.finder" associate stadds with provider "com.apple.osax.standardadditions"
tell fndr tell stadds set f to open for access hfspath -- code hunk end tell end tell
Philip Aker
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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