Button to pause/toggle active hotkeys (Pulover)

Advanced Macro Recorder/Editor.

Moderator: Pulover

nechronics
Posts: 4
Joined: 14 Feb 2023, 00:39

Button to pause/toggle active hotkeys (Pulover)

Post by nechronics » 14 Feb 2023, 00:45

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.

nechronics
Posts: 4
Joined: 14 Feb 2023, 00:39

Re: Button to pause/toggle active hotkeys (Pulover)

Post by nechronics » 19 Feb 2023, 18:43

Anyone?

nicoleahmed
Posts: 2
Joined: 21 Mar 2023, 11:07

Re: Button to pause/toggle active hotkeys (Pulover)

Post by nicoleahmed » 21 Mar 2023, 16:55

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

nechronics
Posts: 4
Joined: 14 Feb 2023, 00:39

Re: Button to pause/toggle active hotkeys (Pulover)

Post by nechronics » 12 Aug 2023, 20:59

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.

rockitdontstopit
Posts: 70
Joined: 12 Nov 2022, 15:47

Re: Button to pause/toggle active hotkeys (Pulover)

Post by rockitdontstopit » 14 Aug 2023, 13:59

nechronics wrote:
12 Aug 2023, 20:59
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.
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.

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.

User avatar
lmstearn
Posts: 694
Joined: 11 Aug 2016, 02:32
Contact:

Re: Button to pause/toggle active hotkeys (Pulover)

Post by lmstearn » 15 Aug 2023, 02:01

rockitdontstopit wrote:
14 Aug 2023, 13:59
You can't use the "or" operator "||" here because there's some kind of bug.
You mean some kind of kind bug in this:

Code: Select all

if (!WinActive("Window Title 1") || !WinActive("ahk_class Shell_TrayWnd"))
msgbox taskbar and 1 not active
Or somewhere else related?
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

rockitdontstopit
Posts: 70
Joined: 12 Nov 2022, 15:47

Re: Button to pause/toggle active hotkeys (Pulover)

Post by rockitdontstopit » 15 Aug 2023, 07:52

lmstearn wrote:
15 Aug 2023, 02:01
rockitdontstopit wrote:
14 Aug 2023, 13:59
You can't use the "or" operator "||" here because there's some kind of bug.
You mean some kind of kind bug in this:

Code: Select all

if (!WinActive("Window Title 1") || !WinActive("ahk_class Shell_TrayWnd"))
msgbox taskbar and 1 not active
Or somewhere else related?
Correct. If you paste that as an expression into Pulover's, some of the arguments go missing.

User avatar
lmstearn
Posts: 694
Joined: 11 Aug 2016, 02:32
Contact:

Re: Button to pause/toggle active hotkeys (Pulover)

Post by lmstearn » 16 Aug 2023, 02:35

Ah right, how odd. Off-Topic:
Spoiler
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

nechronics
Posts: 4
Joined: 14 Feb 2023, 00:39

Re: Button to pause/toggle active hotkeys (Pulover)

Post by nechronics » 24 Aug 2023, 23:25

rockitdontstopit wrote:
14 Aug 2023, 13:59
nechronics wrote:
12 Aug 2023, 20:59
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.
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.

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.
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
Posts: 70
Joined: 12 Nov 2022, 15:47

Re: Button to pause/toggle active hotkeys (Pulover)

Post by rockitdontstopit » 27 Aug 2023, 19:40

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.
[Mod edit: Fixed quote tags.]

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.

Post Reply

Return to “Pulovers Macro Creator”