• 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: cleaning my desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleaning my desktop


  • Subject: Re: cleaning my desktop
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 3 Oct 2007 14:38:00 -0500

On Oct 3, 2007, at 1:32 PM, Steven D. Majewski wrote:
Now my questions for Applescript Users is:

  How can you access the contents of a smart folder from Applescript ?

Although they show up in the Finder (looking like folders) they are
really xml plist files. I don't see anything in the Finder dict to
access these smart folders. Is spotlight otherwise scriptable ?
I don't see a separate dict for it, although I do see one for Sherlock.

Right. A .savedSearch file looks and acts like a folder ... but it's not. It's a .plist file. I have looked for, but not found the location of the results of the search. They are NOT part of the file. May not exist.


Spotlight does not have a dictionary ... you can not script Spotlight. You can, however, write an AppleScript application that writes custom search criteria to a .savedSearch file, then runs it. I've found the results to be very convenient and quick. I have a very low opinion of Spotlight, but AppleScripted searches are very nice. (More details if anyone are interested. I posted something that searched pdf contents earlier this year.)

_______________________________________________
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: cleaning my desktop
      • From: demski <email@hidden>
References: 
 >cleaning my desktop (From: "William Chu" <email@hidden>)
 >Re: cleaning my desktop (From: "Steven D. Majewski" <email@hidden>)

  • Prev by Date: Re: cleaning my desktop
  • Next by Date: Re: cleaning my desktop
  • Previous by thread: Re: cleaning my desktop
  • Next by thread: Re: cleaning my desktop
  • Index(es):
    • Date
    • Thread