• 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: Mail windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mail windows
      • From: Luther Fuller <email@hidden>
References: 
 >Mail windows (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Mail windows
  • Next by Date: Re: Generating MP3 Files???
  • Previous by thread: Re: Mail windows
  • Next by thread: Re: Mail windows
  • Index(es):
    • Date
    • Thread