TsunamiZ Posted April 7, 2006 Report Share Posted April 7, 2006 Is there a way to make a macro to center a specific program's window on-screen when that program starts? So the macro will be auto triggered by the starting of the specified program? Thanks. Quote Link to comment Share on other sites More sharing options...
joe Posted April 7, 2006 Report Share Posted April 7, 2006 er, what? Quote Link to comment Share on other sites More sharing options...
cyberchief Posted April 7, 2006 Report Share Posted April 7, 2006 Whats the matter, Joe? Don't you speak Tsunaminese???? Yes, there is a way. When creating a Macro, under activation type, choose "Window" and put in the top title bar name of the window of the program that you want it activated on. In the commands of the macro is where you will put your code for centering the window. Quote Link to comment Share on other sites More sharing options...
TsunamiZ Posted April 7, 2006 Author Report Share Posted April 7, 2006 Got it. But how can I have the centering only happen 1 time after the program is loaded? Instead of having it recentered on its own if I decide to move it and switch program focus. Quote Link to comment Share on other sites More sharing options...
TsunamiZ Posted April 7, 2006 Author Report Share Posted April 7, 2006 Is there a way to have the macro be triggered by the program's .exe file instead? Otherwise, there is a conflict with other programs that display the same word as in the windows title. Quote Link to comment Share on other sites More sharing options...
TsunamiZ Posted April 9, 2006 Author Report Share Posted April 9, 2006 If centering by windows title, is there a way to make it do that to the window faster? Currently there is about a 1 sec delay before that happens after the window loads. Thanks. Quote Link to comment Share on other sites More sharing options...
TsunamiZ Posted July 11, 2006 Author Report Share Posted July 11, 2006 Is there a way to have the macro be triggered by the program's .exe file instead? Doing this by window title is causes a delay, since it has to wait for the window to show up first. Quote Link to comment Share on other sites More sharing options...
joe Posted July 22, 2006 Report Share Posted July 22, 2006 Change the Delay in Seconds value to zero under the Advanced tab of the Activate/Launch Program dialog. Quote Link to comment Share on other sites More sharing options...
TsunamiZ Posted July 22, 2006 Author Report Share Posted July 22, 2006 but im using 'window reposition' not 'activate or launch' ... Quote Link to comment Share on other sites More sharing options...
joe Posted July 22, 2006 Report Share Posted July 22, 2006 Currently there is about a 1 sec delay before that happens after the window loads.I based my answer on what you wrote above. The one-second delay after the window launches, and before any other command is run (such as Window Reposition), is on the Advanced tab. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.