Pixel range of monitor...
Pixel range of monitor...
- Subject: Pixel range of monitor...
- From: David Crowe <email@hidden>
- Date: Tue, 2 Jul 2002 08:55:12 -0600
In Mac OS 9.2 I was able to get the size of the screen by:
tell application "Finder"
bounds of window of desktop
end tell
This would give me the usable area of the screen, useful for
positioning a window relative to the right or bottom of the screen.
However, that gives an error in OS X (Finder: can't get bounds of
window of desktop).
In OS X the expression "bounds of desktop" executes, but provides no
useful information. On my computer the result is "{-33, -33, 31, 31}".
Is there a way to obtain the bounds of a monitor in Applescript that
works in OS X? If it works in OS 9 as well, that would be a bonus.
- David Crowe
_______________________________________________
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.