• 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: apply the same property to a number of items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apply the same property to a number of items


  • Subject: Re: apply the same property to a number of items
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 22 Feb 2011 21:10:54 -0800

You may need to roll your own handler to make this work.

That's what I would do. It's too easy to get bogged down in trying to do something to every item of a list all in one command.

In appleScript, that doesn't always save a lot of time, and it's often not worth the headaches.

Remember, you're often at the mercy of app developers in appleScript and Finder is just another app and in many ways apple is just another developer.

HTH

ES



set listOfFolders to choose folder with prompt "Pick folders to work with" with multiple selections allowed
-- should work with any list of aliases
tell application "Finder" to reveal item 1 of listOfFolders

my SetLablelIndes(listOfFolders)

on SetLablelIndes(folderList)
	repeat with thisFolder in folderList
		tell application "Finder"
			set the label index of thisFolder to 2
		end tell
	end repeat
end SetLablelIndes _______________________________________________
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: apply the same property to a number of items
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >Re: apply the same property to a number of items (From: Jan Bultereys <email@hidden>)
 >Re: apply the same property to a number of items (From: Jean-Christophe Helary <email@hidden>)
 >Re: apply the same property to a number of items (From: Deivy Petrescu <email@hidden>)
 >Re: apply the same property to a number of items (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: apply the same property to a number of items
  • Next by Date: Re: apply the same property to a number of items
  • Previous by thread: Re: apply the same property to a number of items
  • Next by thread: Re: apply the same property to a number of items
  • Index(es):
    • Date
    • Thread