replaced all instances of 'RMSearchTerm' to 'AtomSearchTerm' for better legibility of code

This commit is contained in:
yuriy 2023-08-19 22:24:00 -04:00
parent 2223c91171
commit 9224dd7dab
4 changed files with 63 additions and 63 deletions

View File

@ -8,7 +8,7 @@
; Search Engines
;------------------------------------------------
if RMSearchTerm = az%A_Space% ; Search Amazon
if AtomSearchTerm = az%A_Space% ; Search Amazon
{
gui_search_title = Amazon
gui_search_icon = %A_ICODir%\Amazon.png
@ -16,7 +16,7 @@ if RMSearchTerm = az%A_Space% ; Search Amazon
StatExport(gui_search_title)
}
if RMSearchTerm = ahk%A_Space% ; Search autohotkey Userboards
if AtomSearchTerm = ahk%A_Space% ; Search autohotkey Userboards
{
gui_search_title = AutoHotKey Userboards
gui_search_icon = %A_ICODir%\AutoHotKey7.png
@ -24,7 +24,7 @@ if RMSearchTerm = ahk%A_Space% ; Search autohotkey Userboards
StatExport(gui_search_title)
}
if RMSearchTerm = dic%A_Space% ; Search Dictionary
if AtomSearchTerm = dic%A_Space% ; Search Dictionary
{
gui_search_title = Dictionary.com
gui_search_icon = %A_ICODir%\Dictionary.png
@ -33,7 +33,7 @@ if RMSearchTerm = dic%A_Space% ; Search Dictionary
}
if RMSearchTerm = d%A_Space% ; Search Brave
if AtomSearchTerm = d%A_Space% ; Search Brave
{
gui_search_title = Brave
gui_search_icon = %A_ICODir%\Jono_Brave.png
@ -43,7 +43,7 @@ if RMSearchTerm = d%A_Space% ; Search Brave
}
if RMSearchTerm = b%A_Space% ; Search Duckduckgo
if AtomSearchTerm = b%A_Space% ; Search Duckduckgo
{
gui_search_title = DuckDuckGo
gui_search_icon = %A_ICODir%\duckduckgo_bg_1.png
@ -51,7 +51,7 @@ if RMSearchTerm = b%A_Space% ; Search Duckduckgo
StatExport(gui_search_title)
}
if RMSearchTerm = gp%A_Space% ; Google Play
if AtomSearchTerm = gp%A_Space% ; Google Play
{
gui_search_title = Google Play Store
gui_search_icon = %A_ICODir%\PlayStore.png
@ -61,7 +61,7 @@ if RMSearchTerm = gp%A_Space% ; Google Play
}
if RMSearchTerm = gm%A_Space% ; Google Maps
if AtomSearchTerm = gm%A_Space% ; Google Maps
{
gui_search_title = Google Maps
gui_search_icon = %A_ICODir%\GoogleMaps.png
@ -70,7 +70,7 @@ if RMSearchTerm = gm%A_Space% ; Google Maps
}
if RMSearchTerm = r%A_Space% ; Search reddit
if AtomSearchTerm = r%A_Space% ; Search reddit
{
gui_search_title = reddit
gui_search_icon = %A_ICODir%\reddit.png
@ -79,7 +79,7 @@ if RMSearchTerm = r%A_Space% ; Search reddit
}
if RMSearchTerm = sa%A_Space% ; Search reddit SysAdmin
if AtomSearchTerm = sa%A_Space% ; Search reddit SysAdmin
{
gui_search_title = /r/sysAdmin
gui_search_icon = %A_ICODir%\Reddit_Boost.png
@ -88,7 +88,7 @@ if RMSearchTerm = sa%A_Space% ; Search reddit SysAdmin
}
if RMSearchTerm = w%A_Space% ; Search Wikipedia
if AtomSearchTerm = w%A_Space% ; Search Wikipedia
{
gui_search_title = White Mountain Paper Wiki
; gui_search_icon = %A_ICODir%\wikipedia.png
@ -97,7 +97,7 @@ if RMSearchTerm = w%A_Space% ; Search Wikipedia
}
if RMSearchTerm = imdb%A_Space% ; Search IDMB
if AtomSearchTerm = imdb%A_Space% ; Search IDMB
{
gui_search_title = IMDB
gui_search_icon = %A_ICODir%\imdb.png
@ -106,7 +106,7 @@ if RMSearchTerm = imdb%A_Space% ; Search IDMB
}
if RMSearchTerm = ff%A_Space% ; Search Firefox Addons
if AtomSearchTerm = ff%A_Space% ; Search Firefox Addons
{
gui_search_title = Firefox Addons
gui_search_icon = %A_ICODir%\firefox9.png
@ -115,7 +115,7 @@ if RMSearchTerm = ff%A_Space% ; Search Firefox Addons
}
if RMSearchTerm = cc%A_Space% ; Search Chrome Addons
if AtomSearchTerm = cc%A_Space% ; Search Chrome Addons
{
gui_search_title = Chrome Addons
gui_search_icon = %A_ICODir%\
@ -123,7 +123,7 @@ if RMSearchTerm = cc%A_Space% ; Search Chrome Addons
StatExport(gui_search_title)
}
if RMSearchTerm = z%A_Space% ; Search Zoogle
if AtomSearchTerm = z%A_Space% ; Search Zoogle
{
gui_search_title = Zoogle
gui_search_icon = %A_ICODir%\Zoogle.png
@ -132,7 +132,7 @@ if RMSearchTerm = z%A_Space% ; Search Zoogle
}
if RMSearchTerm = td%A_Space% ; Search TasteDive
if AtomSearchTerm = td%A_Space% ; Search TasteDive
{
gui_search_title = TasteDive
gui_search_icon = %A_ICODir%\TasteDive.png
@ -141,7 +141,7 @@ if RMSearchTerm = td%A_Space% ; Search TasteDive
}
if RMSearchTerm = ia%A_Space% ; Search IconArchive
if AtomSearchTerm = ia%A_Space% ; Search IconArchive
{
gui_search_title = IconArchive
gui_search_icon = %A_ICODir%\Jono_IconArchive.png
@ -149,7 +149,7 @@ if RMSearchTerm = ia%A_Space% ; Search IconArchive
StatExport(gui_search_title)
}
if RMSearchTerm = ii%A_Space% ; Icon-Icons
if AtomSearchTerm = ii%A_Space% ; Icon-Icons
{
gui_search_title = icon-icons.com
gui_search_icon = %A_ICODir%\iconicon.png
@ -157,7 +157,7 @@ if RMSearchTerm = ii%A_Space% ; Icon-Icons
StatExport(gui_search_title)
}
if RMSearchTerm = e%A_Space% ; Search Ebay
if AtomSearchTerm = e%A_Space% ; Search Ebay
{
gui_search_title = Ebay
gui_search_icon = %A_ICODir%\apps_ebay.pngea
@ -165,7 +165,7 @@ if RMSearchTerm = e%A_Space% ; Search Ebay
StatExport(gui_search_title)
}
if RMSearchTerm = choco%A_Space% ; Search Chocolatey
if AtomSearchTerm = choco%A_Space% ; Search Chocolatey
{
gui_search_title = Chocolatey
gui_search_icon = %A_ICODir%\chocolatey.png
@ -175,7 +175,7 @@ if RMSearchTerm = choco%A_Space% ; Search Chocolatey
}
if RMSearchTerm = pip%A_Space% ; Search pypi
if AtomSearchTerm = pip%A_Space% ; Search pypi
{
gui_search_title = pypi
gui_search_icon = %A_ICODir%\
@ -184,7 +184,7 @@ if RMSearchTerm = pip%A_Space% ; Search pypi
}
if RMSearchTerm = sp%A_Space% ; Startpage
if AtomSearchTerm = sp%A_Space% ; Startpage
{
gui_search_title = Startpage
gui_search_icon = %A_ICODir%\startpage.png
@ -193,7 +193,7 @@ if RMSearchTerm = sp%A_Space% ; Startpage
}
if RMSearchTerm = g%A_Space% ; Google
if AtomSearchTerm = g%A_Space% ; Google
{
gui_search_title = Google
gui_search_icon = %A_ICODir%\Google.png
@ -201,7 +201,7 @@ if RMSearchTerm = g%A_Space% ; Google
StatExport(gui_search_title)
}
if RMSearchTerm = gi%A_Space% ; Google Images
if AtomSearchTerm = gi%A_Space% ; Google Images
{
gui_search_title = Google Images
gui_search_icon = %A_ICODir%\GoogleImages.png
@ -209,7 +209,7 @@ if RMSearchTerm = gi%A_Space% ; Google Images
StatExport(gui_search_title)
}
if RMSearchTerm = di%A_Space% ; Search DuckDuckGo Images
if AtomSearchTerm = di%A_Space% ; Search DuckDuckGo Images
{
gui_search_title = DuckDuckGo Images
gui_search_icon = %A_ICODir%\DuckDuckGo.png
@ -218,7 +218,7 @@ if RMSearchTerm = di%A_Space% ; Search DuckDuckGo Images
}
if RMSearchTerm = a%A_Space% ; Search Google for AutoHotkey related results
if AtomSearchTerm = a%A_Space% ; Search Google for AutoHotkey related results
{
gui_search_title = Autohotkey Google Search
gui_search_icon = %A_ICODir%\imageeeewithpng
@ -226,7 +226,7 @@ if RMSearchTerm = a%A_Space% ; Search Google for AutoHotkey related results
StatExport(gui_search_title)
}
else if RMSearchTerm = gl%A_Space% ; Search Google with ImFeelingLucky
else if AtomSearchTerm = gl%A_Space% ; Search Google with ImFeelingLucky
{
gui_search_title = I'm Feeling Lucky
gui_search_icon = %A_ICODir%\imageeeewithpng
@ -235,7 +235,7 @@ else if RMSearchTerm = gl%A_Space% ; Search Google with ImFeelingLucky
}
else if RMSearchTerm = multi%A_Space% ; Open more than one search
else if AtomSearchTerm = multi%A_Space% ; Open more than one search
{
gui_search_title = Google/Bing/DDG/Startpage
@ -247,7 +247,7 @@ else if RMSearchTerm = multi%A_Space% ; Open more than one search
}
else if RMSearchTerm = ci%A_Space% ; Search Google as Incognito
else if AtomSearchTerm = ci%A_Space% ; Search Google as Incognito
{
gui_search_title = Google - Chrome Incognito
gui_search_icon = %A_ICODir%\Incognito.png
@ -256,7 +256,7 @@ else if RMSearchTerm = ci%A_Space% ; Search Google as Incognito
}
else if RMSearchTerm = y%A_Space% ; Search Youtube
else if AtomSearchTerm = y%A_Space% ; Search Youtube
{
gui_search_title = Youtube
gui_search_icon = %A_ICODir%\Youtube_Jono.png
@ -265,7 +265,7 @@ else if RMSearchTerm = y%A_Space% ; Search Youtube
}
else if RMSearchTerm = gt%A_Space% ; Google Translate English to Russian
else if AtomSearchTerm = gt%A_Space% ; Google Translate English to Russian
{
gui_search_title = Google Translate
gui_search_icon =
@ -276,14 +276,14 @@ else if RMSearchTerm = gt%A_Space% ; Google Translate English to Russian
}
else if RMSearchTerm = / ; Go to subreddit
else if AtomSearchTerm = / ; Go to subreddit
{
gui_search_title := "/r/"
gui_search_icon =
GuiSearch("https://www.reddit.com/r/REPLACEME")
}
else if RMSearchTerm = red ; reddit.com
else if AtomSearchTerm = red ; reddit.com
{
gui_destroy()
run www.reddit.com

View File

@ -1,72 +1,72 @@
; Folder Shortcuts
;------------------------------------------------
if RMSearchTerm = dd%A_Space% ; downloads
if AtomSearchTerm = dd%A_Space% ; downloads
{
gui_destroy()
run, C:\Users\%A_Username%\Downloads
}
else if RMSearchTerm = dl%A_Space% ; downloads
else if AtomSearchTerm = dl%A_Space% ; downloads
{
gui_destroy()
run, C:\Users\%A_Username%\Downloads
}
else if RMSearchTerm = gg%A_Space% ; Git
else if AtomSearchTerm = gg%A_Space% ; Git
{
gui_destroy()
run, C:\Users\%A_username%\Syncthing\Git
}
else if RMSearchTerm = dc%A_Space% ; DCIM
else if AtomSearchTerm = dc%A_Space% ; DCIM
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures
}
else if RMSearchTerm = pic%A_Space% ;
else if AtomSearchTerm = pic%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures
}
else if RMSearchTerm = mus%A_Space% ;
else if AtomSearchTerm = mus%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Music
}
else if RMSearchTerm = vids%A_Space% ;
else if AtomSearchTerm = vids%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Videos
}
else if RMSearchTerm = doc%A_Space% ;
else if AtomSearchTerm = doc%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Documents
}
else if RMSearchTerm = desk%A_Space% ;
else if AtomSearchTerm = desk%A_Space% ;
{
gui_destroy()
run, C:\Users\%A_Username%\Desktop
}
else if RMSearchTerm = ss%A_Space% ; Screenshots
else if AtomSearchTerm = ss%A_Space% ; Screenshots
{
gui_destroy()
run, C:\Users\%A_Username%\Pictures\Screenshots
}
else if RMSearchTerm = startup%A_Space% ; startup
else if AtomSearchTerm = 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
else if AtomSearchTerm = rb%A_Space% ; Recycle Bin
{
gui_destroy()
Run ::{645FF040-5081-101B-9F08-00AA002F954E}

View File

@ -2,17 +2,17 @@
; Interact with THIS AHK Script
;------------------------------------------------
else if RMSearchTerm = rl%A_Space% ; Reload This script
else if AtomSearchTerm = rl%A_Space% ; Reload This script
{
gui_destroy()
Reload
}
else if RMSearchTerm = dir%A_Space% ; Open the directory for this script
else if AtomSearchTerm = dir%A_Space% ; Open the directory for this script
{
gui_destroy()
Run, %A_ScriptDir%
}
else if RMSearchTerm = edit%A_Space% ; Edit host script
else if AtomSearchTerm = edit%A_Space% ; Edit host script
{
gui_destroy()
run, "C:\Windows\notepad.exe" "%A_ScriptFullPath%"
@ -22,14 +22,14 @@ else if RMSearchTerm = edit%A_Space% ; Edit host script
; Type Raw Text
;------------------------------------------------
else if RMSearchTerm = raw%A_Space% ; Paste clipboard content without formatting
else if AtomSearchTerm = raw%A_Space% ; Paste clipboard content without formatting
{
gui_destroy()
SendRaw, %ClipBoard%
}
else if RMSearchTerm = ram%A_Space% ; RAM Calculator
else if AtomSearchTerm = ram%A_Space% ; RAM Calculator
{
CustomTool = RamMultiplier
@ -39,7 +39,7 @@ else if RMSearchTerm = ram%A_Space% ; RAM Calculator
StatExport(gui_search_title)
}
else if RMSearchTerm = time%A_Space% ; Requests
else if AtomSearchTerm = time%A_Space% ; Requests
{
CustomTool = AHKTimeMultiplier
@ -49,31 +49,31 @@ else if RMSearchTerm = time%A_Space% ; Requests
StatExport(gui_search_title)
}
else if RMSearchTerm = ada%A_Space% ; Adapters
else if AtomSearchTerm = ada%A_Space% ; Adapters
{
gui_destroy()
run, "C:\Windows\System32\ncpa.cpl" ; Network Adapters
}
else if RMSearchTerm = disk%A_Space% ; Disk Management
else if AtomSearchTerm = disk%A_Space% ; Disk Management
{
gui_destroy()
run, "diskmgmt.msc" ; Windows Disk management
}
else if RMSearchTerm = power ; Power down the pc
else if AtomSearchTerm = power ; Power down the pc
{
gui_destroy()
Shutdown, 8 ; power off command
}
else if RMSearchTerm = date ; What is the date?
else if AtomSearchTerm = date ; What is the date?
{
gui_destroy()
FormatTime, date,, LongDate
MsgBox %date%
date =
}
else if RMSearchTerm = week ; Which week is it?
else if AtomSearchTerm = week ; Which week is it?
{
gui_destroy()
FormatTime, weeknumber,, YWeek
@ -84,15 +84,15 @@ else if RMSearchTerm = week ; Which week is it?
weeknumber =
weeknumbertrimmed =
}
else if RMSearchTerm = ?%A_Space% ; Tooltip with list of commands
else if AtomSearchTerm = ?%A_Space% ; Tooltip with list of commands
{
GuiControl,, RMSearchTerm, ; Clear the input box
GuiControl,, AtomSearchTerm, ; Clear the input box
gui_destroy()
Gosub, gui_commandlibrary
}
else if RMSearchTerm = a?%A_Space% ; Tooltip with list of commands
else if AtomSearchTerm = a?%A_Space% ; Tooltip with list of commands
{
GuiControl,, RMSearchTerm, ; Clear the input box
GuiControl,, AtomSearchTerm, ; Clear the input box
gui_destroy()
Gosub, gui_commandlibrary
}

View File

@ -2,7 +2,7 @@
;------------------------------------------------
; first item has to be a "if" and all items below it are "else if"
else if RMSearchTerm = S%A_Space%
else if AtomSearchTerm = S%A_Space%
{
CustomTool = Sublime
@ -12,7 +12,7 @@ else if RMSearchTerm = S%A_Space%
StatExport(gui_search_title)
return
}
else if RMSearchTerm = gimp%A_Space%
else if AtomSearchTerm = gimp%A_Space%
{
CustomTool = GIMP
@ -24,7 +24,7 @@ else if RMSearchTerm = gimp%A_Space%
}
else if RMSearchTerm = dn%A_Space% ; Open up a joplin note using an eternal URL
else if AtomSearchTerm = dn%A_Space% ; Open up a joplin note using an eternal URL
{
gui_destroy()
@ -32,7 +32,7 @@ else if RMSearchTerm = dn%A_Space% ; Open up a joplin note using an eternal URL
}
else if RMSearchTerm = cmd%A_Space% ; Run CMD
else if AtomSearchTerm = cmd%A_Space% ; Run CMD
{
gui_destroy()
;run, %comspec% /k "C:\Users\me\Downloads\_Old Files"