• 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: items selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: items selected


  • Subject: Re: items selected
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 23 Oct 2005 13:59:39 -0400

In general I've had best luck by asking simply for "selection" which will return a list of items. Sometimes it seems you can apply property settings directly to the list, and sometimes you have to enumerate them. Does this do something like what you're ultimately looking for?

tell application "Finder"
    set myLabelIndex to 3
    set myItems to selection
    repeat with thisItem in myItems
        set label index of thisItem to myLabelIndex
    end repeat
end tell


On Oct 23, 2005, at 1:19 PM, Robert Poland wrote:

tell application "Finder"

    activate

    if window 1 contains items selected then beep 3

end tell


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: items selected
      • From: Robert Poland <email@hidden>
References: 
 >items selected (From: Robert Poland <email@hidden>)

  • Prev by Date: items selected
  • Next by Date: Re: items selected
  • Previous by thread: items selected
  • Next by thread: Re: items selected
  • Index(es):
    • Date
    • Thread