Re: GUI scripting: Set app window attributes - size, position, bounds?
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.