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

Re: Spotlight Workaround


  • Subject: Re: Spotlight Workaround
  • From: Michael Gmail <email@hidden>
  • Date: Wed, 1 Jun 2005 12:14:18 -0500

On Jun 1, 2005, at 11:55 AM, Martin Orpen wrote:

So how about this cheeky workaround:

Brilliant! Michael



    tell application "Script Editor"
        set foo to text of document 1
        set bar to path of document 1
    end tell
    tell application "Finder"
        set comment of my POSIX file bar to foo
    end tell


Run it from the script menu after saving your script and then they'll appear in your Spotlight searches.




--
"The best argument against democracy is a five minute conversation with the average voter."


- Winston Churchill

_______________________________________________
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


References: 
 >Spotlight Workaround (From: Martin Orpen <email@hidden>)

  • Prev by Date: writing text to MS Word
  • Next by Date: Re: writing text to MS Word
  • Previous by thread: Spotlight Workaround
  • Next by thread: Re: Spotlight Workaround
  • Index(es):
    • Date
    • Thread