atom-launcher/Modules/Atom-Folders.ahk
2023-08-18 22:32:02 -04:00

74 lines
1.5 KiB
AutoHotkey

; Folder Shortcuts
;------------------------------------------------
if RMSearchTerm = dd%A_Space% ; downloads
{
gui_destroy()
run, C:\Users\%A_Username%\Downloads
}
else if RMSearchTerm = dl%A_Space% ; downloads
{
gui_destroy()
run, C:\Users\%A_Username%\Downloads
}
else if RMSearchTerm = gg%A_Space% ; Git
{
gui_destroy()
run, C:\Users\%A_username%\Syncthing\Git
}
else if RMSearchTerm = dc%A_Space% ; DCIM
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures
}
else if RMSearchTerm = pic%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures
}
else if RMSearchTerm = mus%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Music
}
else if RMSearchTerm = vids%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Videos
}
else if RMSearchTerm = doc%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Documents
}
else if RMSearchTerm = desk%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Desktop
}
else if RMSearchTerm = ss%A_Space% ; Screenshots
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures\Screenshots
}
else if RMSearchTerm = startup%A_Space% ; startup
{
gui_destroy()
run, C:\Users\%A_Username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
return
}
else if RMSearchTerm = rb%A_Space% ; Recycle Bin
{
gui_destroy()
Run ::{645FF040-5081-101B-9F08-00AA002F954E}
; other clsid-key shortcuts: https://www.tenforums.com/tutorials/3123-clsid-key-guid-shortcuts-list-windows-10-a.html
}