• 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: GUI scripting: Set app window attributes - size, position, bounds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI scripting: Set app window attributes - size, position, bounds?


  • Subject: Re: GUI scripting: Set app window attributes - size, position, bounds?
  • From: Andrew Oliver <email@hidden>
  • Date: Tue, 21 Jan 2003 16:23:55 -0800

On 1/21/03 3:12 PM, "Laine Lee" <email@hidden> wrote:

> Has anybody been able to set any app's window attributes - size, position,
> bounds? I've only been able to get an internalscripterror message. Thanks.


What trouble are you having?

This seems to work fine for me:

tell application "Finder"
set position of window 1 to {100, 100}
set bounds of window 1 to {100, 100, 400, 300}
end tell


Which application are you having trouble positioning the window in?
_______________________________________________
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.

  • Follow-Ups:
    • Re: GUI scripting: Set app window attributes - size, position, bounds?
      • From: Laine Lee <email@hidden>
References: 
 >GUI scripting: Set app window attributes - size, position, bounds? (From: Laine Lee <email@hidden>)

  • Prev by Date: my first script
  • Next by Date: Re: Clip2Gif
  • Previous by thread: GUI scripting: Set app window attributes - size, position, bounds?
  • Next by thread: Re: GUI scripting: Set app window attributes - size, position, bounds?
  • Index(es):
    • Date
    • Thread