• 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: open every item of saved search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open every item of saved search


  • Subject: Re: open every item of saved search
  • From: "Michael Grant" <email@hidden>
  • Date: Wed, 26 Nov 2008 09:59:16 -0600

On Wed, Nov 26, 2008 at 7:58 AM, Luther Fuller <email@hidden> wrote:
> 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!

Thanks, that's more elegant than what I finally came up with last
night, which was to apply GUI scripting (send a command-A, command-O
via System Events while the search window was open).

Michael


--
You have to be happy with what you have to be happy with what you have
to be happy with.
 _______________________________________________
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

References: 
 >open every item of saved search (From: "Michael Grant" <email@hidden>)
 >Re: open every item of saved search (From: "Michael Grant" <email@hidden>)
 >Re: open every item of saved search (From: "Michael Grant" <email@hidden>)
 >Re: open every item of saved search (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: open every item of saved search
  • Next by Date: Scripting Apple Mail to strip all but plain text alternative
  • Previous by thread: Re: open every item of saved search
  • Next by thread: Scripting Apple Mail to strip all but plain text alternative
  • Index(es):
    • Date
    • Thread