Jump to content
Sign in to follow this  
meancode

window size, window position....

Recommended Posts

hi,

i am using this right now as an apple script step in my databases:

Property x1: 162

Property y1: 862

Property x2: 183

Property y2: 544

set the bounds of window 1 to {x1, y1, x2, y2}

this works great exept for the fact that it would be nice to set the name of, say, main.fp5 to 'main' so i can set the bounds one main to.... so it is not always working on the front most window, but on a specific one. is this possible? thanks.

Share this post


Link to post
Share on other sites

set the bounds of window "windowname" to {x1, y1, x2, y2}

This will work where windowname is the name of the database window you are trying to move/resize.

Share this post


Link to post
Share on other sites

thank you. that fixed the problem i was having were 'window 1' was resizing like mad when all my other db's were opening.

now if someone would just develop a plug-in for AppleScript window size and window position, and DID NOT charge an arm and a leg for a developers licence (MoveWindow plug-in, $179 dev. license). if i knew how to make plugins i would make one that is CHEAP! wink.gif

Share this post


Link to post
Share on other sites

Why do you need a plug-in if you can do it with AppleScript? AppleScript can be a pain in the ..., but we should all be asking for better AS support and documentation.

[ April 16, 2002, 10:59 AM: Message edited by: jfmcel ]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.