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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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