Re: how to make/move a new window underneath the other windows
Re: how to make/move a new window underneath the other windows
- Subject: Re: how to make/move a new window underneath the other windows
- From: Malcolm Fitzgerald <email@hidden>
- Date: Thu, 18 Nov 2004 12:34:42 +1100
On 18/11/2004, at 11:17 AM, Kim Holburn wrote:
Hi,
I have a script that creates a window (it's a Mail.app rule script) so
it uses a command from the Mail.app library:
--------------------------------------------
set theWindow to make new message viewer with properties {visible:true}
--------------------------------------------
Now the window appears at the top of all windows, which is I assume
the end of the list of (all or just Mail.app?) windows.
Well, its dictionary says "index integer -- The index of the window in
the back-to-front window ordering" though window 1 is at the front and
window 3 is at the back.
Another aspect of the problem is that the application class in the
standard suite has two elements; document and window. However, the
application class in the Mail suite has quite a few elements - neither
document nor window is among them. Mail's application class contains an
element called "Message viewer" and it has a window property. It's
described twice:
window window [r/o] -- The window for the viewer
window window -- The window for the message viewer
I tried setting the index of the window of the message viewer. That
succeeded, however the message viewer window is still visibly the front
most regardless of its index.
Malcolm Fitzgerald ph: 02 93180877
Database Manager fax: 02 93180530
The Australian Society of Authors www.asauthors.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden