Skip to content

Releases: GenesisFR/KeyToggles

2.3

17 Feb 21:10

Choose a tag to compare

+ added a more specific error message in the GUI if the process name is empty
+ added a Reload button to update the GUI with the values from the config file
+ added a sound when showing tooltips
+ added debug mode that was missing from the GUI
* fixed a potential crash that could happen when writing to the config file
* fixed script sleeping for 0-20ms when hookDelay was set to 0
* fixed timers that could be disabled by specifying 0 in the GUI
- clicking the tray icon will now bring up the GUI
- hotkeys are checked for duplicates and process name is now validated when reading from the config file as well
- improved process name validation by using a regular expression instead
- made the config file optional: it'll use default values and prompt the user to enter a process name then show the GUI at launch (you still have to hit Save though)
- made the overall code cleaner and easier to read
- made WinWaitActive in OnFocusChanged() time out to allow settings changed from the GUI to come into effect (it was blocking before so you had to reload the script)
- merged warning message boxes about invalid process name and duplicate hotkeys
- selecting a process from the Browse button will now clear the window name
- removed comma separators from edit controls
- the window name is now shown along the process name while waiting for it to be active

2.2

07 Feb 16:35

Choose a tag to compare

2.2

+ added a complete GUI to configure settings (can be accessed from the tray menu)
* fixed a crash when using the wrong types in the config file
* fixed IsMouseButton() returning incorrect values when specifying partial matches
- updated the readme to mention the built-in configurator along with some limitations

2.1

02 Feb 04:24

Choose a tag to compare

2.1

+ added a notification while waiting for the window to become active
+ added support for AHKBatchScriptCompiler in the release script
+ added support for autorun
+ added support for showing tooltips instead of system notifications
* fixed a weird bug where the autofire key would stay permanently pressed (without breaking input logic) after holding it down for a few seconds
* fixed timers not firing when setting autofireKeyDelay/focusCheckDelay to 0
- disabled all keys by default
- notifications are now hidden on exit
- shipping KeyToggles.ahk from now on for those who'd like to run the uncompiled script instead

2.0

21 Jan 12:34

Choose a tag to compare

2.0

+ added a setting to control whether to restore autofires on focus or not
+ added support for autofire hold
+ added support for process name, this way you can restrict the hotkeys to a specific window title in a given process
* fixed crouch/sprint toggle keys still firing even though they were disabled
* fixed hotkeys not being released anymore if they were modifiers (after updating to AHK v1.1.37.02 / v2.0.7+)
* fixed notifications not showing the full title of the window if it was found through a partial match
* fixed ShouldRestoreTogglesOnFocus() returning an incorrect value if the window was found through a partial match
- major code refactoring (ported the script to AHK v2)

1.5

23 May 00:51

Choose a tag to compare

1.5

+ added a debug setting to close the script (ALT+F10) and reload it (ALT+F11)
+ added an option to force the script to run as admin
+ added an option to show a notification when hooking a window
* fixed an issue where clicks wouldn't work outside the window when it was still active and one of the mouse clicks was toggled
* fixed an issue where toggle keys were only saved/restored if the aim key was set to toggle mode
* fixed multiple issues where system key combinations were not (properly) working when toggle keys were modifiers and were toggled
- the script will now exit with an error message if the window name isn't specified

1.4

08 May 07:17

Choose a tag to compare

1.4

+ added key hold support
+ added autofire support
+ added a setting to control how often to check whether the window has focus or not
* fixed an issue where hotkeys were no longer working after restarting a game
* fixed an issue where hotkeys were no longer working after quitting a game from the desktop
- restoreTogglesOnFocus is now disabled by default
- major code refactoring
- renamed to KeyToggles

1.32

25 Feb 12:15
bcabe53

Choose a tag to compare

+ added an option to control whether to restore toggles on focus or not
* fixed key spam when holding toggle keys

1.31

15 Feb 17:42
a856b78

Choose a tag to compare

+ added an option to delay hotkey hooking
- toggles are now disabled on focus lost and restored on focus

1.3

11 Feb 19:49
15893be

Choose a tag to compare

1.3

+ added support for custom hotkeys
+ added default toggle states (all enabled)
+ added default keys (RButton, LCtrl and LShift)
+ added beeps when suspending/resuming the script
- changed suspend key combination to ALT+F12
- compiled script in Unicode 32-bit (instead of Unicode 64-bit)
- lowered compiled script size by 60% (through MPRESS compression)

1.2

05 Feb 10:38
2533007

Choose a tag to compare

1.2

+ added support for right-click toggle
+ added support for enabling toggles individually