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: Carlos Ysunza <email@hidden>
- Date: Wed, 10 Dec 2008 14:48:46 -0600
- Thread-topic: Tell Blocks Considered Harmful (was Re: open for access)
Title: Re: Tell Blocks Considered Harmful (was Re: open for access)
associate fndr with provider "com.apple.finder"
associate stadds with provider "com.apple.osax.standardadditions"
tell stadds to set f to open for access hfspath
tell fndr
-- code hunk that tells Finder to do something with the file
end tell
-- code hunk that has nothing whatsoever to do with Finder, but may also use the file
i.e., even with “associate … with” it would be best to avoid placing things inside tell blocks unnecessarily.
I’m missing something or what?
The very first line of the “code” associate fndr with provider "com.apple.finder" don’t even compile, how do you use this “associate” command?
This is the first time I see it., can someone enlighten me, Thaks
Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual • Automatización
Tel. (52)55 5256-0336
email@hidden
http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx
_______________________________________________
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