Button to pause/toggle active hotkeys (Pulover)
Moderator: Pulover
-
- Posts: 4
- Joined: 14 Feb 2023, 00:39
Button to pause/toggle active hotkeys (Pulover)
Is there a way to assign a button in PMC that will allow me to temporarily disable or toggle whether my hotkeys are active or not? The keys I use replace a lot of general functions so I need a way to quickly turn them on/off during my workflow. I see that ctrl+alt+d will "deactivate macros", but this command only works when PMC is in focus and doesn't allow you turn hotkeys back on again.
-
- Posts: 4
- Joined: 14 Feb 2023, 00:39
-
- Posts: 2
- Joined: 21 Mar 2023, 11:07
Re: Button to pause/toggle active hotkeys (Pulover)
Hey I've just started using this programme too
have you tried using the icon in the system tray?
If it's there for you right click on it to activate and deactivate macros
have you tried using the icon in the system tray?
If it's there for you right click on it to activate and deactivate macros
-
- Posts: 4
- Joined: 14 Feb 2023, 00:39
Re: Button to pause/toggle active hotkeys (Pulover)
I want to use a keyboard key (e.g. caps lock, num lock etc.) to quickly turn the macros on and off. I have many macros assigned to keyboard keys which I use frequently....but sometimes I just want to type letters or numbers out and have to quickly disable hotkeys for a moment.
-
- Posts: 70
- Joined: 12 Nov 2022, 15:47
Re: Button to pause/toggle active hotkeys (Pulover)
Ctrl+Alt+D is the shortcut to "deactivate" macros. However this only works when Pulover's window is active. Ctrl+Enter to reactivate macros and minimize window if selected.nechronics wrote: ↑12 Aug 2023, 20:59I want to use a keyboard key (e.g. caps lock, num lock etc.) to quickly turn the macros on and off. I have many macros assigned to keyboard keys which I use frequently....but sometimes I just want to type letters or numbers out and have to quickly disable hotkeys for a moment.
I use "context-sensitive hotkeys" so that hotkeys are active only when certain windows/programs are active, otherwise they are not active. Ctrl+H to open window.
Sample "expression":
!(!WinActive("Window Title 1") && !WinActive("ahk_class Shell_TrayWnd"))
This says, if "Window Title 1" is not active AND the taskbar is not active, then deactivate hotkeys.
You can't use the "or" operator "||" here because there's some kind of bug.
Re: Button to pause/toggle active hotkeys (Pulover)
You mean some kind of kind bug in this:rockitdontstopit wrote: ↑14 Aug 2023, 13:59You can't use the "or" operator "||" here because there's some kind of bug.
Code: Select all
if (!WinActive("Window Title 1") || !WinActive("ahk_class Shell_TrayWnd"))
msgbox taskbar and 1 not active
itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
-
- Posts: 70
- Joined: 12 Nov 2022, 15:47
Re: Button to pause/toggle active hotkeys (Pulover)
Correct. If you paste that as an expression into Pulover's, some of the arguments go missing.lmstearn wrote: ↑15 Aug 2023, 02:01You mean some kind of kind bug in this:rockitdontstopit wrote: ↑14 Aug 2023, 13:59You can't use the "or" operator "||" here because there's some kind of bug.Or somewhere else related?Code: Select all
if (!WinActive("Window Title 1") || !WinActive("ahk_class Shell_TrayWnd")) msgbox taskbar and 1 not active
Re: Button to pause/toggle active hotkeys (Pulover)
Ah right, how odd. Off-Topic:
Spoiler
itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
-
- Posts: 4
- Joined: 14 Feb 2023, 00:39
Re: Button to pause/toggle active hotkeys (Pulover)
Indeed, I had originally tried using ctrl+alt+d as you also stated, but unfortunately it only works when pulover is active, so not useful here. Still confused as to how something so simple and basic as this is missing from this software.rockitdontstopit wrote: ↑14 Aug 2023, 13:59Ctrl+Alt+D is the shortcut to "deactivate" macros. However this only works when Pulover's window is active. Ctrl+Enter to reactivate macros and minimize window if selected.nechronics wrote: ↑12 Aug 2023, 20:59I want to use a keyboard key (e.g. caps lock, num lock etc.) to quickly turn the macros on and off. I have many macros assigned to keyboard keys which I use frequently....but sometimes I just want to type letters or numbers out and have to quickly disable hotkeys for a moment.
I use "context-sensitive hotkeys" so that hotkeys are active only when certain windows/programs are active, otherwise they are not active. Ctrl+H to open window.
Sample "expression":
!(!WinActive("Window Title 1") && !WinActive("ahk_class Shell_TrayWnd"))
This says, if "Window Title 1" is not active AND the taskbar is not active, then deactivate hotkeys.
You can't use the "or" operator "||" here because there's some kind of bug.
-
- Posts: 70
- Joined: 12 Nov 2022, 15:47
Re: Button to pause/toggle active hotkeys (Pulover)
[Mod edit: Fixed quote tags.]Indeed, I had originally tried using ctrl+alt+d as you also stated, but unfortunately it only works when pulover is active, so not useful here. Still confused as to how something so simple and basic as this is missing from this software.
The author of the program wrote it before they considered themselves a "developer". 2-3 years ago he said he would no longer be updating it. Fork it on github if you have problem with it. If you only have complaints, ain't nothing going to happen. I've used the current latest version to do amazing things in my everyday life, as a non-programmer.