You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/AHKCommandPicker.ahk
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ IDEAS:
13
13
- Maybe just hide the GUI instead of actually closing it every time; this would be good for tooltip mode too, since the tooltip could show the currently selected command from the window.
14
14
- Allow user to create new simple commands easily from the GUI and save them in their own file (open file/program, path, website).
15
15
16
-
- Use Ctrl+Space to copy the full command/parameter into the input textbox, and Ctrl+, to copy it with a trailing comma (easier for parameters). Or maybe use Shift instead of Ctrl.
16
+
- Use Ctrl+Space to copy the full command/parameter into the input textbox, and Ctrl+, to copy it with a trailing comma (easier for parameters). Or maybe use Shift instead of Ctrl.
; Global Variables - prefix everything with "cp" for Command Picker, so that variable/function names are not likely to conflict with user variables/function names.
; Return the handle of the window that was activated.
88
91
if (windowActivated)
89
92
{
90
93
returnWinExist("A")
91
94
}
92
-
95
+
93
96
; Else the window was not activated, so return 0 (i.e. false).
94
97
return0
95
-
98
+
96
99
; Tries to put the window in focus if it already exists.
97
100
PWIFTryActivateWindow:
98
101
; If the window is already open.
99
102
IfWinExist, %windowName%
100
-
{
103
+
{
101
104
; Put the window in focus.
102
105
WinActivate
103
106
WinShow
104
-
107
+
105
108
; Not all apps Restore properly when using WinShow and the app is Minimized (e.g. apps minimized using TrayIt!), so explicitly restore windows that are still minimized.
0 commit comments