• 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
Setting spotlight comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting spotlight comments


  • Subject: Setting spotlight comments
  • From: JF <email@hidden>
  • Date: Sat, 18 May 2013 11:40:08 +0100

I have 100s of files which need to have a particular spotlight comment. I can do this manually by opening the "Get Info" dialog box, but this is very time consuming. Is there a way of selecting an file (or a whole lot of files) and applying an appleScript which will automatically place the spotlight comment. If opening the Get Info box is required this is done without display.

Spotlight is a preference pane in System Preferences and I don't know how to script it directly. I have tried this in both Finder and System Preferences, but neither work:

tell application "System Preferences" -- or "Finder"
	set comment of selection to "Set 2"
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting spotlight comments
      • From: Christopher Stone <email@hidden>
    • Re: Setting spotlight comments
      • From: JF <email@hidden>
  • Prev by Date: Re: InDesign Separations
  • Next by Date: Re: Setting spotlight comments
  • Previous by thread: Re: InDesign Separations
  • Next by thread: Re: Setting spotlight comments
  • Index(es):
    • Date
    • Thread