How To Center Message Window

Share your macros, knowledge, solutions, services, ...
Post Reply
Posts: 6
Joined: Thu Mar 30, 2017 7:00 pm

How To Center Message Window

Post by webbar » Thu Mar 30, 2017 7:05 pm


I am currently utilizing the free trial of Macro Toolworks.

How do I get the Message Window to center on the screen? I have tried to alter the x and y parameter but have been unable to find the correct configuration to center the dialog box.
Some of the information I found in the Help guide indicates "If both X-coordinate and Y-coordinate is equal to -100 then the message window is centered on the screen." but this is not how the message window is displaying, it displays in the upper left. We utilize dual monitors.

Posts: 106
Joined: Tue Oct 18, 2016 1:12 pm

Re: How To Center Message Window

Post by Petr » Thu Apr 13, 2017 3:12 pm

You need to calculate the central position of the macro menu from the system variables (_vMonitorScreenCX_1, _vMonitorScreenCY_1) that contain size of the screen:

Code: Select all


Post Reply