Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
eating keystrokes
#1
I have set up a macro to change the size of a window by 20 pixels at a time, using trigger CWR:
Code:
Copy      Help
int x y cx cy
GetWinXY win() &x &y &cx &cy
siz cx+30 0 "" 2

Problem is, if I set it to "Eat", I have to let go of the Win key between each trigger. It's more natural to hold down the Win key, and press RightArrow several times...

If set it to NOT "eat", then it works, but the CtrlRightArrow is passed on to the window, making undesired cursor movement.

I tried to add "key- CR" (and other key- combinations) at the end, but that didn't help...

How do I make it NOT pass the trigger to the app, yet allow re-triggering without letting go of the W key?
Ze'ev
#2
int x y cx cy w=win
if(IsZoomed(w) or IsIconic(w)) ret
GetWinXY w &x &y &cx &cy

rep
,cx+30
,siz cx 0 w 2
,wait 2 KF R; err ret


Forum Jump:


Users browsing this thread: 3 Guest(s)