• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tell Blocks Considered Harmful (was Re: open for access)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Tell Blocks Considered Harmful (was Re: open for access)
      • From: Philip Aker <email@hidden>
References: 
 >Re: Tell Blocks Considered Harmful (was Re: open for access) (From: Chris Page <email@hidden>)

  • Prev by Date: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Next by Date: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Previous by thread: Re: Code Signing
  • Next by thread: Re: Tell Blocks Considered Harmful (was Re: open for access)
  • Index(es):
    • Date
    • Thread