Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7096 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to set a precise non user changeable window size for the user.

I have got everything set except for one last problem... how to specify the size of the runtime application window.

I want the standalone runtime window to open at a set size..... I then open the user window and maximize it within the application window. The user window has all its controls disabled so that it stays fixed as maximized.

The runtime app window I want to be able to minimize, move and restore.... nothing more than that. This I have done , but to get it all to work correctly the runtime app should open as a 900x900 window to begin with.

Is there any way I can do this this?

Posted

Chalkster:

I've never done it for a runtime, but I regularly put AppleScripts in to pre-set window size & location. I'll see if I can dig the script up for you.

-Stanley

Posted

Chalkster:

Here's the script:

tell Application "FileMaker Pro"

set bounds of Window "YourWindowName" to {x1, y1, x2, y2}

end tell

x1, y1 are the x & y coordinates of the upper left-hand corner of the window; x2, y2 are the lower-right hand coordinates. Remembering to take into account the fact that the menubar is part of the window, you could set the coordinates to: 5, 55, 905, 955, and you'd have a 900x900 window. Play around with it, and you'll find exactly what you want.

-Stanley

This topic is 7096 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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