Oh lol ok, thank you anyways :) I guess I'll have to make a knock off version haha, but it'll be sucky compared to yours :P So far I have:
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ###
$Window = GUICreate("Auto Resser", 186, 189, 435, 386)
$Key = GUICtrlCreateInput("0", 8, 24, 33, 21)
$Wait = GUICtrlCreateInput("500", 48, 24, 49, 21)
$NewWinTitle = GUICtrlCreateInput("Resser", 104, 24, 57, 21)
$Label1 = GUICtrlCreateLabel("Key:", 8, 8, 25, 16)
$Label2 = GUICtrlCreateLabel("Wait (ms):", 48, 8, 51, 16)
$Label3 = GUICtrlCreateLabel("Window:", 112, 8, 46, 16)
$Group1 = GUICtrlCreateGroup("", 0, 48, 185, 105, -1, $WS_EX_TRANSPARENT)
$List1 = GUICtrlCreateList("", 8, 62, 169, 84)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$ChangeWinNameButton = GUICtrlCreateButton("...", 160, 24, 19, 21, $WS_GROUP)
$Start = GUICtrlCreateButton("Start", 8, 160, 75, 25, $WS_GROUP)
$Stop = GUICtrlCreateButton("Stop", 104, 160, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
HotKeySet("{insert}","Start")
HotKeySet("{end}","Stop")
$auto = 0
;getting the windows
$aWinlist = WinList("[Class:CLIENT]")
$sWinlist = ""
for $i = 1 to UBound($aWinlist)-1
$sWinlist &= $aWinlist[$i][0]
Next
;places win titles in box
GUICtrlSetData($List1,$sWinlist)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
;renaming the window title
Case $ChangeWinNameButton
$hwd = GUICtrlRead($List1)
WinSetTitle($hwd,"",GUICtrlRead($NewWinTitle))
;starts key spamming
Case $Start
$auto = 1
;stops key spamming
Case $Stop
$auto = 0
While $auto = 1
ControlSend(GUICtrlRead($NewWinTitle),"","",GUICtrlRead($Key)
Sleep(GUICtrlRead($Wait))
WEnd
EndSwitch
WEnd
Func Start()
$auto = 1
EndFunc
Func Stop()
$auto = 0
EndFunc