Is it possible to make a GUI always on top on the screen, with hypelinks to F1-F10, with description for the buttons?
I want to click with my mouse on the hyperlink insted of click F1-F10 buttons on my keyboard.
Ex:
F1 =notepad
F2 =Chrome
F3 =Word
and so on...
Hope you can help me...
Best reguard Tony
Gui with Hyperlinks to F1-F10 buttons
Re: Gui with Hyperlinks to F1-F10 buttons
Code: Select all
#Requires AutoHotkey v1.1.33
Gui +AlwaysOnTop
Gui Font, s10
Gui Add, Button, w230 gGo, F1 = Notepad
Gui Show, x900 y200, Buttons
F1::Run notepad
Go:
RegExMatch(A_GuiControl, "F\d+", m)
Gosub % m
Return
Re: Gui with Hyperlinks to F1-F10 buttons
Thank you very mutch!
You helped me with random before,
And random.ahk is already open and i use F5 for make random sentence.
when i press F5 on keyboard it make random sentence, is it possible to make a hyperlink and just click "F5 = Random Sentens" the hyperlink to make the random sentece in this Gui?
Best reguards Tony
You helped me with random before,
And random.ahk is already open and i use F5 for make random sentence.
when i press F5 on keyboard it make random sentence, is it possible to make a hyperlink and just click "F5 = Random Sentens" the hyperlink to make the random sentece in this Gui?
Best reguards Tony
Re: Gui with Hyperlinks to F1-F10 buttons
Code: Select all
#Requires AutoHotkey v1.1.33
Gui +AlwaysOnTop
Gui Font, s10
Gui Add, Button, w230 gGo, F5 = Random sentence
Show:
Gui Show, x900 y200, Buttons
Return
Go:
RegExMatch(A_GuiControl, "F\d+", fkey)
Gui Submit
Sleep 50
Send % "{" fkey "}"
Gosub Show
Return
Re: Gui with Hyperlinks to F1-F10 buttons
Thank you very mutch