DonationCoder.com Software > Post New Requests Here
DONE: MiniMe (aka MaxiMe)
jgpaiva:
Ok, fixed that problem.
--- ---; minimize the current window when pressing pagedown twice quickly
; maximize the current window when pressing pageup twice quickly
#NoEnv
SendMode Input
SetKeyDelay 0,0
#NoTrayIcon
Delay = 250
~PgDn up::
If (A_PriorHotkey = A_ThisHotkey and A_TimeSincePriorHotkey < Delay)
WinMinimize, A
Return
~PgUp up::
If (A_PriorHotkey = A_ThisHotkey and A_TimeSincePriorHotkey < Delay)
WinMaximize, A
Return
Adding "up" to the hotkey will only trigger it when the key is released, fixing the keyboard repeat problem! :)
I must say congrats justice, this was a really great idea :D
justice:
Ah you made some changes :D Mind if i incorporate that? :)
jgpaiva:
Sure, that was the idea :)
justice:
Take out the line SetKeyDelay 0,0 as this still triggers the minimizing if you're holding the key even with your fix..
v4 coming up :tellme: Thanks for all the help and testing. sometimes I get too excited lol ;)
lanux128:
this might be moot point since you already have a working script.. :up: but just for the record, this tool, FreeSnap and its AHK equivalent by Armando can also be used for the same purpose..
The number-pad “Enter” key will maximize the window when it is normal size and vice-versa. The “0” key will minimizes the window.-FreeSnap help file
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version