Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UserCommands.ahk #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions GUI/UserCommands.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,17 @@ else if Pedersen = x%A_Space% ; Search Google as Incognito
; So what this does is that it runs chrome with the arguments "-incognito" and the google search URL where REPLACEME in the URL has been replaced by your input.
{
gui_search_title = Google Search as Incognito
gui_search("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito https://www.google.com/search?safe=off&q=REPLACEME")
gui_search_title = Google Search as Incognito
;gui_search("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito https://www.google.com/search?safe=off&q=REPLACEME") ;; This is the path needed for chrome: if the path is incorrect, you need to replace the path to the chrome.exe file yourself. DO NOT remove/change the -incognito/-inprivate afterwards. JUST the path at the beginning, otherwise it won't open in incognito mode.
;gui_search("C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe -inprivate https://www.google.com/search?safe=off&q=REPLACEME")
gui_search("firefox.exe -private-window https://www.google.com/search?safe=off&q=REPLACEME")
;gui_search("C:\Program Files\Internet Explorer\iexplore.exe -InPrivate https://www.google.com/search?safe=off&q=REPLACEME") ;; <--- THIS DOES NOT WORK. I can't trigger icognito mode in iex.
}
else if Pedersen = maps ; Google Maps focused on the Rhine-Waal University of Applied Sciences
{
gui_search_title = Lost on the way home?
gui_search("https://www.google.com/maps/search/REPLACEME/")
}


;-------------------------------------------------------------------------------
;;; SEARCH OTHER THINGS ;;;
Expand Down Expand Up @@ -103,11 +111,6 @@ else if Pedersen = paint ; MS Paint
gui_destroy()
run "C:\Windows\system32\mspaint.exe"
}
else if Pedersen = maps ; Google Maps focused on the Technical University of Denmark, DTU
{
gui_destroy()
run "https://www.google.com/maps/@55.7833964`,12.5244754`,12z"
}
else if Pedersen = inbox ; Open google inbox
{
gui_destroy()
Expand Down