Re: cleaning my desktop
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