Re: open every item of saved search
Re: open every item of saved search
- Subject: Re: open every item of saved search
- From: Luther Fuller <email@hidden>
- Date: Wed, 26 Nov 2008 07:58:16 -0600
On Nov 25, 2008, at 6:31 PM, Michael Grant wrote:
On Tue, Nov 25, 2008 at 6:25 PM, Michael Grant <email@hidden>
wrote:
Just figgered it out. After opening the search window, within the
Finder tell block:
items of Finder window 1
Aargh! Must learn not to post to list till solution has been tested!
My non-solution returns items that look like this:
alias file "Today File" of folder "" of application "Finder"
And, being as they're in a folder called "", they don't respond to the
open command.
Smart folders are NOT folders, they are .savedSearch files. And the .
savedSearch extension works just like the .plist extension. Open a .
savedSearch document with Property List Editor and be amazed!
I also got the reference to an "alias file" containing "folder """. I
avoid that by using aliases to the items in the search window. Like
this ...
-- "TEST SEARCH" is the name of a . savedSearch file on my desktop
tell application "Finder"
set fileAlias to item "TEST SEARCH" of (path to desktop)
open fileAlias
set resultsList to (every item of window 1) as alias list
open some item of resultsList
end tell
It worked for me!
_______________________________________________
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