03-29-2007, 12:35 PM
I have dual monitors and am always getting caught when moving between them with typing because I did not click in the new window on the other monitor first. Now I know I can just click and have windows make that app active, but why not just have QM make the top window active when the mouse shows up in that monitor.
I have tried using
It will work if the right screen is active and I place the mouse in the left screen and then invoke the macro - but cannot figure the logic to make it work the other way or once I did I would then have no idea on how to have the macro loop each time I changed screens so it would still run when I went back to the other screen.
Any of your programming guru's have any thoughts on this?
Thanks
carl
I have tried using
;Get mouse pointer position on Screen position
int px(xm)
out px
if px <= 1224
,act ;;win(100 500)
else
,act ;;win(250 1500)
It will work if the right screen is active and I place the mouse in the left screen and then invoke the macro - but cannot figure the logic to make it work the other way or once I did I would then have no idea on how to have the macro loop each time I changed screens so it would still run when I went back to the other screen.
Any of your programming guru's have any thoughts on this?
Thanks
carl
