How to map Ctrl-: ?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Wpq
Posts: 14
Joined: 02 Mar 2021, 04:15
Location: France

How to map Ctrl-: ?

Post by Wpq » 06 Dec 2023, 13:18

I thought that escaping the colon would do the trick:

Code: Select all

^`::: OpenObsidian()
This is however rejected.

What is the proper way to call the OpenObsidian() function when pressing Ctrl-: ?

Note: I use a French keyboard where the : key is directly available (without modifiers)

emp00
Posts: 164
Joined: 15 Apr 2023, 12:02

Re: How to map Ctrl-: ?

Post by emp00 » 06 Dec 2023, 14:44

@Wpq Try using scancode SC34 instead of the colon or (not sure if this really works, found it via google)

Code: Select all

/:: MsgBox "you pressed the colon key"

Post Reply

Return to “Ask for Help (v2)”