Re: Getting screen resolution the Safari way
Re: Getting screen resolution the Safari way
- Subject: Re: Getting screen resolution the Safari way
- From: Paul Skinner <email@hidden>
- Date: Thu, 9 Jan 2003 12:38:27 -0500
On Wednesday, January 8, 2003, at 03:54 PM, Paul Skinner wrote:
On Wednesday, January 8, 2003, at 11:28 AM, Mr Tea wrote:
Scripting limitations in OS X have spawned some ingenious but
contorted ways
of getting the size of the desktop (eg, Paul Skinner's handler for
digging
it out of the windowserver plist file), so I was interested to notice
the
comparatively straightforward method demonstrated in the Safari
'Side-by-Side' script...
snip
Mr Tea
Also a pity it doesn't work for me. : (
The window at 0,0 has the following properties...
{class:window, value:missing value, minimum:missing value,
maximum:missing value, title:"", subrole:missing value,
description:"window", size:{0, 0}, focused:true, selected:missing
value, enabled:missing value, name:missing value, role:"AXWindow",
orientation:missing value, help:missing value, position:{0, 0}}
Now that's a lot of missing values!
--
Paul Skinner
I recant this complaint.
It works.
If you return the properties instead of the size then you will see the
results I posted. Size is returned as {0,0}. Despite this the script
returns accurate info.
Q: Why?
A: 42
--
Paul Skinner
_______________________________________________
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.