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

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

Recommended Posts

Posted

HI,

Has anyone been able to create a script that opens a window in the center of whatever monitor the user might have? Any help here would be great.

Thanks

-JJ

Posted

If you check the FMPUG Starter Template at

http://fmforums.com/forum/showtopic.php?tid/125385/

it has a script in it which does that. In summary:

Adjust Window [Resize To Fit]

Move/Resize Window, with settings of

Distance From Top: Round(((Get(WindowDesktopHeight) - Get(WindowHeight)) / 2); 0)

Distance From Left: Round(((Get(WindowDesktopWidth) - Get(WindowWidth)) / 2); 0)

--Dane

This topic is 6829 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.