I want to cycle between these 3 actions when I press CMD+L:
1st action -> maximize the window
2nd action -> move and resize the window to top half
3rd action -> move and resize the window to bottom half
That's pretty simple with BTT, but I want to add a timer condition to this cycle.
Condition of time must be like this:
-
If I press CMD+L, and the last time I pressed CMD+L was less than 1 second ago, move and resize the window in the cycle order (1>2>3>1>2>3>...)
-
If I press CMD+L, and the last time I pressed CMD+L was more than 1 second ago, always do the 1st action (maximize the window)
How can I do it? Any ideas?
Thx in advance,
Jordi