Re: Bounds?
Re: Bounds?
- Subject: Re: Bounds?
- From: Guy Algot <email@hidden>
- Date: Mon, 1 Jan 2001 21:42:24 -0700
On 1/1/01 9:13 PM, Sal sent:
>
Beginner's question number 2: Why won't this work?
>
>
tell application "Finder"
>
set bounds of front window to {10, 40, 200, 100}
>
end tell
The smallest W x H that a Finder window can be is 97 x 117. The last
parameter passed is too small. The minimum that you can use, given your
example, is 157.
Therefore, the code should be
tell application "Finder"
set bounds of front window to {10, 40, 200, 157}
end tell
Later,
Guy
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Guy Algot, Graphic Dimensions Consulting (403) 861-9882
email@hidden Calgary, Alberta
"The higher, the fewer!" Mac consulting/4D development
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
'Remember that as a teenager you are in the last stage of your
life when you will be happy to hear that the phone is for you'
-- Fran Lebowitz