JediJiver Posted March 17, 2006 Posted March 17, 2006 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
Dane Posted March 17, 2006 Posted March 17, 2006 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
JediJiver Posted March 17, 2006 Author Posted March 17, 2006 Dane, Thanks so much! That works like a charm. Cheers -JJ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now