Re: Outlook Express message window script
Re: Outlook Express message window script
- Subject: Re: Outlook Express message window script
- From: Mr Tea <email@hidden>
- Date: Thu, 11 Oct 2001 22:11:57 +0100
This from Irwin Poche - dated 11/10/01 6.36 pm:
>
The script will distinguish between two different machines, such as your
>
desktop and laptop, which would have different screen sizes.
For greater portability, you could check the size of the screen that the
script is running on by (eg) asking the Finder how big the desktop is.
tell application "Finder" to copy bounds of the desktop's window to
theScreenSize -- all one line
'item 4 of theScreenSize' will then tell you the height of the screen, and
you could base the size of your OE message window on this.
BTW - I note that asking the finder to give 'size of the desktop's window'
gives a different result to 'bounds' for the desktop window's height,
shaving 20 pixels off for the menu bar. Why this difference between bounds
and size?
Regards
Mr Tea
--
"Always remember to warm the pot."
Visit the Tea Room at:
http://homepage.mac.com/mrtea/tearoom.html