agar wrote:
I set CapsLock+s to be MaximizeToggle. This works a bit better for me since the default behavior maximizes (first press) and then swaps screens (second press).
The default ini is slightly different from what I use personally:
- Capslock+s sets 50% width rather than 100%, since 50% is typically more comfortable on my 22" widescreen.
- Capslock+f sets 100% width and height, for the rare occasions when I want a window to fill the screen but not maximize.
- I recently replaced the default Numpad layout (which I never used) with a layout that toggles with Numlock. NumpadHome, etc. are normally useless to me given that they're right next to regular Home, etc. which are laid out more intuitively on my keyboard. With the new layout, I can move windows around (and minimize, maximize, etc.) using only the numpad while numlock is off. (I have WindowPad embedded in my hotkey script, which sets Numlock to ON initially.)
The modified numpad layout:
Code:
[Hotkeys]
~Numlock = Hotkeys, UnNumpad, Toggle
[Hotkeys: UnNumpad]
NumpadHome = WindowPadMove, -1, -1, 0.5, 0.5
NumpadUp = WindowPadMove, 0, -1, 1.0, 0.5
NumpadPgUp = WindowPadMove, +1, -1, 0.5, 0.5
NumpadLeft = WindowPadMove, -1, 0, 0.5, 1.0
NumpadClear = WindowPadMove, 0, 0, 0.5, 1.0
NumpadRight = WindowPadMove, +1, 0, 0.5, 1.0
NumpadEnd = WindowPadMove, -1, +1, 0.5, 0.5
NumpadDown = WindowPadMove, 0, +1, 1.0, 0.5
NumpadPgDn = WindowPadMove, +1, +1, 0.5, 0.5
NumpadIns = WindowScreenMove, Next
NumpadDel = MaximizeToggle
NumpadSub = Minimize
NumpadAdd = Unminimize
NumpadDiv = GatherWindows, 2
NumpadMult = GatherWindows, 1
Quote:
If I want to swap, I just use the default CapsLock+Space key.
I agree that the current behaviour of switching screens when the window is already in its target position isn't overly useful. I would like to eventually introduce an "alternation" or "command separator" construct. For instance, the current behaviour could be expressed as:
Code:
s = Move("x0-100% y0-100%") || Move("next screen")
It could easily be changed to cycle between two configurations:
Code:
s = Move("x25-75% y0-100%") || Move("x0-100% y0-100%")
MaximizeToggle could be expressed as:
Code:
s = Maximize() || Restore()
I'm still toying with command / parameter-passing styles, but the above seems more readable and more immediately obvious than the current style. It could even be implemented as an actual AutoHotkey expression...
More importantly, I plan to eventually separate definition of the "pad" keys, "prefix" keys and pad layouts. This will make it much easier to configure, and much easier to write a functional GUI for configuration.
Quote:
A quick question: I notice that the Numpad hotkeys now have an asterisk in front of them. This looks like a change since 1.50, but I don't see a difference in behavior. Any reason for this?
The default "prefix keys" don't need the asterisk, but including it makes it easier to edit the configuration to use ^ ! or #. + still can't be used, since it activates some low-level Windows feature that virtually "disables numlock."