On 8/30/07, Jim Correia <[EMAIL PROTECTED]> wrote:

> tell application "Yojimbo"
>         selection
>         if class of window 1 is browser window then
>                 selected collections of browser window 1
>                 selected items of browser window 1
>         end if
> end tell

One question. Am I correct that checking the class of window 1 is
really only necessary if I ask for the selected collections or items
of "window 1", rather than "browser window 1"? I find that as long as
I specify "selected items of browser window 1", I get the selected
items even if a non-browser window is window 1 or if the browser
window isn't even open. Referring to the "selected items of window 1",
on the other hand, only works if window 1 is a browser window.

Jim

-- 
------------------------------------------------------------------
This message is sent to you because you are subscribed to
  the mailing list <[email protected]>.
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  <http://www.listsearch.com/yojimbotalk.lasso>
Have a feature request, or not sure if the software's working 
correctly? Please send mail to: <[EMAIL PROTECTED]>

Reply via email to