Re: Mail windows
Re: Mail windows
- Subject: Re: Mail windows
- From: Robert Poland <email@hidden>
- Date: Mon, 16 Feb 2009 12:44:43 -0700
On Feb 16, 2009, at 10:54 AM, Robert Poland wrote: Wizards,
How does one identify the Inbox and Message windows.
Since the Mail windows seem to wander a lot (mainly the Message window) I made a script that re-positions the Message window.
Currently whichever window is frontmost gets the positioning action.
I would like to add the Inbox window to this script but can't seem to identify it.
Tried; tell (window id 135) tell window "Inbox (15 messages)" -- name at top of window tell window 1 tell window 2
Bob Poland - Fort Collins, CO
Got it to work. Can't deal with more than The Inbox and one incoming message. tell application "Mail" tell window id 135 -- secret code for Inbox window, hope it doesn't change set bounds to {50, newT, 750, newB} end tell activate window 2 end tell -- rest of script Bob Poland - Fort Collins, CO
|
_______________________________________________
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: | |
| >Mail windows (From: Robert Poland <email@hidden>) |