https://alternativeto.net/software/espanso/
PhraseExpress
:*:WORD1:: {
if WinActive("ahk_exe NAMEAPPS.exe") {
Send 'STRING "WORD" STRING MORE'
}
else {
Send "WORD1"
}
}
!+a:: {
Run "PATH APPS"
}
Ctrl & o:: {
if GetKeyState("r") {
if GetKeyState("b") {
MsgBox "Hotkey activated"
}
}
}