• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bounds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Bounds?
  • Next by Date: Re: How to start an apple event
  • Previous by thread: Re: Bounds?
  • Next by thread: Re: Bounds?
  • Index(es):
    • Date
    • Thread