Re: Hiding OE's window
Re: Hiding OE's window
- Subject: Re: Hiding OE's window
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 01 Mar 2002 10:56:16 -0800
On 3/1/02 10:29 AM, "Gnarlodious" <email@hidden> wrote:
>
Entity Paul Berkowitz spoke thus:
>
>
> 'window 1' is the frontmost visible window. Once you've made the current
>
> front invisible, it's not window 1 any longer
>
<blush> OK, that's reasonable.
>
So does OE support "collapsed"? Cuz I looked but couldn't find it.
>
>
>
>
No, but Eric Grant made an osax Collapse Windows, which works in all apps.
Its two commands are 'collapse all windows' and 'expand all windows'. If you
can't find it anywhere, I can send it to you.
It might be worth experimenting with the name of the window, to see if you
really might be able to set visibility that way. (I'm not using OE any more
and don't want to open Classic, so I'll leave it to you to test). Like this:
set windowName to name of window 1
set visible of window windowName to false
--do stuff
set visible of window windowName to true -- ??? probably won't work, but?
But why not just do something like this?
tell application "Microsoft Entourage"
set theWindow to window 1
set lastIndex to index of last window
if lastIndex > 1 then select window 2 -- brings next window to front
-- do stuff
select theWindow --brings it back to the front
end tell
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.