Entourage window resizing
Entourage window resizing
- Subject: Entourage window resizing
- From: Christian Boyce <email@hidden>
- Date: Thu, 6 Nov 2003 00:58:18 -0800
I have a customer who uses Entourage X. He likes the window to be large
enough to show the labels next to the buttons in the toolbar across the
top ("New," "Reply," "Forward," etc.). But, he occasionally resizes the
window, or a friend resizes the window, and being somewhat of a
perfectionist he wants the window back the way it was.
I wrote this:
tell application "Microsoft Entourage"
activate
set displayed area of browser window 1 to mail area
set bounds of window "Mail" to {2, 46, 850, 611}
end tell
I thought it would do the trick. But it doesn't. The window resizes but
sometimes the labels show up and sometimes they don't. Very weird.
(My plan was to run the script via a mail action, on every incoming
message.)
Is there a way to guarantee that a particular button's label will show?
What happens in my experience here is the window size is always set
perfectly via the script, but the buttons themselves are another
matter. There seems to be some connection to whether we start with a
window that needs to be enlarged or one that needs to be shrunk. If a
large window is showing the labels already, then shrinking the window
down preserves the labels until the window is quite small. If I use the
same coordinates (the same script) but start with a small window the
labels on the buttons do not show up.
Anyone have a solution? This looks like an Entourage problem but maybe
there's a property to display the labels.
cb
--
Christian Boyce
Macintosh Consultant
310-452-3720
http://www.christianboyce.com
Free Mac consultations for firefighters through 12/31/2003.
Contact us for details.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.