atom-launcher/Modules/Atom-Programs.ahk

42 lines
1.0 KiB
AutoHotkey
Raw Normal View History

2023-08-18 22:32:02 -04:00
; Program Shortcuts
;------------------------------------------------
; first item has to be a "if" and all items below it are "else if"
else if RMSearchTerm = S%A_Space%
{
CustomTool = Sublime
gui_search_title = Sublime
gui_search_icon = %A_ICODir%\Sublime.png
GuiSearch("REPLACEME") ; REPLACEME text will be replaced with the text input
StatExport(gui_search_title)
return
}
else if RMSearchTerm = gimp%A_Space%
{
CustomTool = GIMP
gui_search_title = Gimp
gui_search_icon = %A_ICODir%\gimp.png
GuiSearch("REPLACEME") ; REPLACEME text will be replaced with the text input
StatExport(gui_search_title)
return
}
else if RMSearchTerm = dn%A_Space% ; Open up a joplin note using an eternal URL
{
gui_destroy()
run, joplin://x-callback-url/openNote?id=b0b578945bab49e4a118a5f2f8ff16db
}
else if RMSearchTerm = cmd%A_Space% ; Run CMD
{
gui_destroy()
;run, %comspec% /k "C:\Users\me\Downloads\_Old Files"
run, cmd.exe ;, C:\Users\me\Downloads\_Old Files
}