Re: Set bounds of a window with NO dictionary
Re: Set bounds of a window with NO dictionary
- Subject: Re: Set bounds of a window with NO dictionary
- From: Doug McNutt <email@hidden>
- Date: Sun, 7 Oct 2007 07:54:57 -0600
At 08:49 -0600 10/6/07, Robert Poland wrote:
>This line works for supported apps;
>
> tell application (path to frontmost application as Unicode text)
> set front window's bounds to {newL, newT, wd, ht}
> end tell
I thought that bounds of a rectangle were two points, top-left and bottom-right with each point being a 2-vector from the top left of the main monitor in (+ right, + down) Cartesian coordinates.
{left, top, right, bottom} is the way that works out as a list.
Has it changed? That wd - width? and ht - height? bothers me, but Terminal.app does things like that.
--
--> Love your country. But don't trust its government. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden