Back/forward moise buttons + Notion don't work

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
matusa
Posts: 2
Joined: 24 Sep 2021, 02:11

Back/forward moise buttons + Notion don't work

24 Sep 2021, 02:15

Hi everyone, I'm using an app called notion, this app have a shortcut to go back and forward between pages that's crtl+] and ctrl+[. My mouse back and forward buttons works everywhere but not in notion.
I tried, from my limitied understandings of autohotkey, to create a code to resolve that... unfortunately it does not work.

Code: Select all

#IfWinActive, Notion
XButton1::Send, {LCtrl}{[}
XButton2::Send, {LCtrl}{]}
The mouse I'm using is logitech MX 3. Thank's for helping.
User avatar
mikeyww
Posts: 26871
Joined: 09 Sep 2014, 18:38

Re: Back/forward moise buttons + Notion don't work

24 Sep 2021, 05:23

Welcome to AutoHotkey! :)

Code: Select all

; #IfWinActive Notion ; Try without this line first
XButton1::Send ^[
XButton2::Send ^]
#IfWinActive
KeyHistory shows the difference.

image210924-0626-001_cr.png
Script #1
image210924-0626-001_cr.png (12.1 KiB) Viewed 430 times

image210924-0633-001_cr.png
Script #2
image210924-0633-001_cr.png (11.82 KiB) Viewed 433 times
matusa
Posts: 2
Joined: 24 Sep 2021, 02:11

Re: Back/forward moise buttons + Notion don't work

24 Sep 2021, 05:42

Hi, thank's but it does not work.

Here's what happen in the Notion app when I press the buttons after using your script:
image.png
image.png (14.91 KiB) Viewed 428 times
As you can see I even try using "RCtrl" instead of "^" but nothing...
User avatar
mikeyww
Posts: 26871
Joined: 09 Sep 2014, 18:38

Re: Back/forward moise buttons + Notion don't work

24 Sep 2021, 06:21

I have no idea what your program does, or what your output is representing, but I cannot control how your program responds to the AHK output. It may have a conflicting hook, etc.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: onurcoban and 376 guests