• 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: Outlook Express message window script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Outlook Express message window script (From: Irwin Poche <email@hidden>)

  • Prev by Date: How to print without 'confirmation' dialog
  • Next by Date: Desktop window - size versus bounds
  • Previous by thread: Outlook Express message window script
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread