GUI POPUP to enter type-in shortcuts

Get help with using AutoHotkey and its commands and hotkeys
palyam

GUI POPUP to enter type-in shortcuts

12 Mar 2018, 13:52

Hi Everyone -

I've been using AHK for an year. So far i have been using only to do certain actions using keyboard shortcuts example: auto-type signature in email etc.
However, i want to find out if there a way to launch a popup window upon a quick launch keyboard shortcut and within popup i should be able type my shortcut keywords.
For example: Open Google, Open Chrome, Open gotomeeting etc.

Please advise if there a way.

Thanks & Appreciate your help.
SP
Johana
Posts: 189
Joined: 02 May 2017, 02:34

Re: GUI POPUP to enter type-in shortcuts

12 Mar 2018, 17:43

On my mobile note so sorry for typos.

You can something like this

Code: Select all

GUI, add, edit, w300 vProgramToRun
GUI, add, button, default hidden gOK, Ok
GUI, show, autosize,Run command
Return

OK:
If (ProgramToRun = "Notepad")
Run notepad.exe

If (ProgramToRun = "chrome")
Run c:\pathToChrome
Return



Return to “Ask For Help”

Who is online

Users browsing this forum: anv, Bing [Bot], effel, Google [Bot], JAutohotkey, mikeyww, teadrinker and 49 guests