Hotkeys when Obsidian is in background

I don’t know if it possible but, is there any way to trigger keyboard shortcuts when Obsidian is in the background?

Evernote just released their new v10-software, and it’s an Electron app. When I press Ctrl+Alt+N I get a new note window. Even though Evernote is in the background. It’s possible there soo… technically it should be possible with Obsidian, right?

For example: If I pres Ctrl+Alt+N then Obsidian should come to the foreground with a new note is created

2 Likes

Hey @Birgines ,

I wanted this as well, so I threw something together for this today. I don’t have it up on the community yet, as I haven’t been able to do too much testing on it yet and have only used this on MacOS.

If you give this a shot, please let me know if you have any issues!

Tried on Windows 11

When I try to activate the plugin I get an error Failed to load plugin obsidian-global-hotkeys

You can use autohotkey for this.
These are some of the scripts that I use:

Same, it fails to load in mac os.

Just saw this pop up a bit ago in the community plugins!
Start a Buy Me a coffee or Ko-Fi so I can give you money!

I use the following AutoHotkey script to quickly add Zettelkasten-like notes

#!n::
FormatTime, formattedTime,, "yyyy-MM-dd-HH-mm-ss"
Run obsidian://advanced-uri?vault=Obsidian&filepath=__Inbox`%2F%formattedTime%.md&mode=append