Hi! I was wondering is there a way to quick capture a note? Let’s say I’m on a Zoom meeting and I want to capture a note, I would have to exit Zoom fullscreen mode, open the Logseq app and jot down the note. This is like 3 clicks and time consuming when you need to really quickly capture something.
Is there any way I can have Logseq always stay open in the background, on the Windows system tray (like Evernote, Todoist, etc.) and just press a global shortcut key or click on the icon to bring it to the fore?
Thanks! If not, what is the quickest way to capture something as a note?
Currently there are a few options, but none of them are super smooth.
There are some plugins that work within the app and there is an app URL you can use outside of it
This is one of the things I’m really missing in logseq. I use multiple virtual desktops in Windows to organize my work and moving to a different desktop (or bringing logseq to different desktops) it’s a bit annoying.
Would be great to have a quick capture everywhere like other tools.
I agree this is really important and a key missing feature.
It would also be nice if the quick-capture functionality worked with the same context and functionality as writing directly in Logseq. That is with the ability to add multiple blocks, with indentation, with auto-complete for tags and page references, and so on. Like they implemented it in Tana (expect that in Tana you can’t yet invoke it from outside the app).
^!v:: ; This is the hotkey: Ctrl (^) + Alt (!) + V (v)
Run, “C:\Users\david\AppData\Local\tana\Tana.exe” ; Path to your Tana application
WinWait, ahk_exe Tana.exe ; Wait for Tana to be active
IfWinNotActive, ahk_exe Tana.exe, , WinActivate, ahk_exe Tana.exe
WinWaitActive, ahk_exe Tana.exe
Send, ^e ; This sends Ctrl+E
Return
I wonder if we could adapt this Script for Logseq. I am not a dev.
This AutoHotKey script works together with the plugin “Quick capture”. It opens the Logseq windows if the app is not running then send the key sequence “q” and “c” that open the plugin pop-up in which write the note.
You need to change the path to logseq.exe
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^!m:: ; This is the hotkey: Ctrl + Alt + M
; Check if Logseq is already running
if WinExist("ahk_exe Logseq.exe") {
; If Logseq is running, bring it to the foreground
WinActivate, ahk_exe Logseq.exe
WinWaitActive, ahk_exe Logseq.exe
} else {
; If Logseq is not running, start it
Run, C:\Users\XXXXX\AppData\Local\Logseq\Logseq.exe
WinWait, ahk_exe Logseq.exe ; Wait for Logseq to be active
WinActivate, ahk_exe Logseq.exe
WinWaitActive, ahk_exe Logseq.exe
}
; Send the key sequence "q" and "c"
Send, q
Sleep, 100 ; Brief delay to ensure the first key registers
Send, c
return
I get errors on Autohotkey version 1.1… then there is the v2… It is quite confusing if you are not familiarized with this type of scripts and compilers.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^!v:: ; This is the hotkey: Ctrl + Alt + V
{
; Check if Logseq is already running
if WinExist("ahk_exe Logseq.exe") {
; If Logseq is running, bring it to the foreground
WinActivate, ahk_exe Logseq.exe
WinWaitActive, ahk_exe Logseq.exe
} else {
; If Logseq is not running, start it
Run, C:\Users\Francesco\AppData\Local\Logseq\Logseq.exe
WinWait, ahk_exe Logseq.exe ; Wait for Logseq to be active
WinActivate, ahk_exe Logseq.exe
WinWaitActive, ahk_exe Logseq.exe
}
; Send the key sequence "q" and "c"
Send, q
Sleep, 100 ; Brief delay to ensure the first key registers
Send, c
}
return