Code:
#NoTrayIcon
#include <GUIConstants.au3>
$1 = ""
$2 = ""
$3 = ""
$4 = ""
$5 = ""
$Old1 = "{F1}"
$Old2 = "{F2}"
$Old3 = "{F3}"
$Old4 = "{F4}"
$Old5 = "{F5}"
$OldConfig = "{F8}"
$1Hidden = False
$2Hidden = False
$3Hidden = False
$4Hidden = False
$5Hidden = False
$ConfigHidden = True
HotKeySet($Old1,"hide1")
HotKeySet($Old2,"hide2")
HotKeySet($Old3,"hide3")
HotKeySet($Old4,"hide4")
HotKeySet($Old5,"hide5")
HotKeySet($OldConfig,"ShowConfig")
HotKeySet("{F9}","tooltipon")
HotKeySet("{esc}","exit1")
Opt("WinTitleMatchMode", 2)
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ###
$Form1_1 = GUICreate("Hider", 561, 436, 209, 138)
$Label1 = GUICtrlCreateLabel("1:", 24, 48, 13, 17)
$Label2 = GUICtrlCreateLabel("2:", 24, 84, 13, 17)
$Label3 = GUICtrlCreateLabel("3:", 24, 114, 13, 17)
$Label4 = GUICtrlCreateLabel("4:", 24, 148, 13, 17)
$Label5 = GUICtrlCreateLabel("5:", 24, 180, 13, 17)
$Label6 = GUICtrlCreateLabel("Programs:", 24, 16, 51, 17)
$txtProg1 = GUICtrlCreateInput("", 56, 48, 185, 21)
$txtProg2 = GUICtrlCreateInput("", 56, 80, 185, 21)
$txtProg3 = GUICtrlCreateInput("", 56, 112, 185, 21)
$txtProg4 = GUICtrlCreateInput("", 56, 144, 185, 21)
$txtProg5 = GUICtrlCreateInput("", 56, 176, 185, 21)
$cmdSetNames = GUICtrlCreateButton("Set", 288, 104, 105, 33, 0)
$Label7 = GUICtrlCreateLabel("HotKeys:", 24, 208, 47, 17)
$Label8 = GUICtrlCreateLabel("1:", 24, 239, 13, 17)
$Label9 = GUICtrlCreateLabel("2:", 24, 275, 13, 17)
$Label10 = GUICtrlCreateLabel("3:", 24, 305, 13, 17)
$Label11 = GUICtrlCreateLabel("4:", 24, 339, 13, 17)
$Label12 = GUICtrlCreateLabel("5:", 24, 371, 13, 17)
$txtHotKey1 = GUICtrlCreateInput("", 48, 240, 73, 21)
$txtHotKey2 = GUICtrlCreateInput("", 48, 272, 73, 21)
$txtHotKey3 = GUICtrlCreateInput("", 48, 304, 73, 21)
$txtHotKey4 = GUICtrlCreateInput("", 48, 336, 73, 21)
$txtHotKey5 = GUICtrlCreateInput("", 48, 368, 73, 21)
$Label13 = GUICtrlCreateLabel("Special Keys:", 128, 216, 68, 17)
$Label14 = GUICtrlCreateLabel("ALT = !", 144, 248, 42, 17)
$Label15 = GUICtrlCreateLabel("CTRL = ^", 144, 280, 53, 17)
$Label16 = GUICtrlCreateLabel("SHIFT = +", 144, 312, 56, 17)
$Label17 = GUICtrlCreateLabel("WINDOWS KEY = #", 144, 336, 109, 17)
$Label18 = GUICtrlCreateLabel("Config window HotKey (this window): ", 136, 392, 181, 17)
$txtConfigHotKey = GUICtrlCreateInput("", 328, 392, 105, 21)
$cmdSetHotKeys = GUICtrlCreateButton("Set", 232, 256, 81, 41, 0)
$cmdSetConfigHotKey = GUICtrlCreateButton("Set", 448, 392, 97, 17, 0)
GUISetState(@SW_HIDE)
#EndRegion ### END Koda GUI section ###
GUICtrlSetOnEvent($cmdSetNames, "SetNames")
GUICtrlSetOnEvent($cmdSetHotKeys, "SetHotKeys")
GUICtrlSetOnEvent($cmdSetConfigHotKey, "SetConfigHotkey")
if $1 = "" Then
$1 = "@@@@@@@@@@@@@@@@@@@@"
EndIf
if $2 = "" Then
$2 = "@@@@@@@@@@@@@@@@@@@@"
EndIf
if $3 = "" Then
$3 = "@@@@@@@@@@@@@@@@@@@@"
EndIf
if $4 = "" Then
$4 = "@@@@@@@@@@@@@@@@@@@@"
EndIf
if $5 = "" Then
$5 = "@@@@@@@@@@@@@@@@@@@@"
EndIf
idle()
Func SetNames()
$1 = GUICtrlRead($txtProg1)
$2 = GUICtrlRead($txtProg2)
$3 = GUICtrlRead($txtProg3)
$4 = GUICtrlRead($txtProg4)
$5 = GUICtrlRead($txtProg5)
EndFunc
Func SetHotKeys()
HotKeySet($Old1)
HotKeySet($Old2)
HotKeySet($Old3)
HotKeySet($Old4)
HotKeySet($Old5)
HotKeySet($OldConfig)
HotKeySet(GUICtrlRead($txtHotKey1),"hide1")
HotKeySet(GUICtrlRead($txtHotKey2),"hide2")
HotKeySet(GUICtrlRead($txtHotKey3),"hide3")
HotKeySet(GUICtrlRead($txtHotKey4),"hide4")
HotKeySet(GUICtrlRead($txtHotKey5),"hide5")
$Old1 = GUICtrlRead($txtHotKey1)
$Old2 = GUICtrlRead($txtHotKey2)
$Old3 = GUICtrlRead($txtHotKey3)
$Old4 = GUICtrlRead($txtHotKey4)
$Old5 = GUICtrlRead($txtHotKey5)
$OldConfig = GUICtrlRead($txtConfigHotKey)
EndFunc
Func SetConfigHotkey()
HotKeySet($OldConfig)
HotKeySet(GUICtrlRead($txtConfigHotKey),"ShowConfig")
$OldConfig = GUICtrlRead($txtConfigHotKey)
EndFunc
Func ShowConfig()
If $ConfigHidden = True Then
GUISetState(@SW_SHOW)
$ConfigHidden = False
Else
GUISetState(@SW_HIDE)
$ConfigHidden = True
EndIf
EndFunc
Func GUICLOSE()
exit1()
EndFunc
func hide1()
If ($1Hidden = True) Then
WinSetState($1,"",@SW_HIDE)
$1Hidden = False
Else
WinSetState($1,"",@SW_SHOW)
$1Hidden = True
EndIf
idle()
EndFunc
func hide2()
If ($2Hidden = True) Then
WinSetState($1,"",@SW_HIDE)
$2Hidden = False
Else
WinSetState($1,"",@SW_SHOW)
$2Hidden = True
EndIf
idle()
EndFunc
func hide3()
If ($3Hidden = True) Then
WinSetState($1,"",@SW_HIDE)
$3Hidden = False
Else
WinSetState($1,"",@SW_SHOW)
$3Hidden = True
EndIf
idle()
EndFunc
func hide4()
If ($4Hidden = True) Then
WinSetState($1,"",@SW_HIDE)
$4Hidden = False
Else
WinSetState($1,"",@SW_SHOW)
$4Hidden = True
EndIf
idle()
EndFunc
func hide5()
If ($5Hidden = True) Then
WinSetState($1,"",@SW_HIDE)
$5Hidden = False
Else
WinSetState($1,"",@SW_SHOW)
$5Hidden = True
EndIf
idle()
EndFunc
func tooltipon()
HotKeySet("{F9}","tooltipoff")
ToolTip("F1: "&$1&@CR&"F2: "&$2&@CR&"F3: "&$3&@CR&"F4: "&$4&@CR&"F5: "&$5,10,10)
sleep(3000)
ToolTip("")
EndFunc
func tooltipoff()
HotKeySet("{F9}","tooltipon")
ToolTip("")
EndFunc
func idle()
;ToolTip("F1: "&$1&@CR&"F2: "&$2&@CR&"F3: "&$3&@CR&"F4: "&$4&@CR&"F5: "&$5,10,10)
sleep(3000)
ToolTip("")
while 1
sleep(1)
WEnd
EndFunc
func exit1()
ToolTip("Closing...",10,10)
GUISetState(@SW_HIDE)
WinSetState($1,"",@SW_SHOW)
WinSetState($2,"",@SW_SHOW)
WinSetState($3,"",@SW_SHOW)
WinSetState($4,"",@SW_SHOW)
WinSetState($5,"",@SW_SHOW)
Sleep(500)
Exit
EndFunc
And for anyone that would like the compiled exe, I'm having trouble uploading it...so if anyone could compile it and post it it would be much appreciated =]