01-24-2019, 09:31 PM
Is there a way to make a macro to remember and place a window in the exact same position each time program is run?
Exact Placement of window
|
01-24-2019, 09:31 PM
Is there a way to make a macro to remember and place a window in the exact same position each time program is run?
01-25-2019, 02:45 PM
Yes, but need some programming. Easier would be to use some window manager program instead. Especially if you have many such windows.
If you want to use QM for it, here is one of possible ways. This function runs automatically when is shown window specified in its trigger. It restores previous position, waits for window moves and then saves its new position. It exits when the window is closed. This example uses the QM "Mouse" dialog as an example window for testing. Change the trigger to match your window. If you have several such windows, create several such functions and change trigger and the "qm_mouse" string. If you have many such windows, I don't recommend to use this function because it will start to use some CPU. Then better use a window manager program. Function remember_position_of_qm_mouse_dialog Trigger !cv"Mouse" "#32770" "" "" "" 0x2 /QM ![]() ;\ |
« Next Oldest | Next Newest »
|