I want to have a code where the timing can be altered, I have a gui pop up then I want to be able to click a button on the gui that will then change the timings for my code.
Any help is appreciated.
Changing code from button click
Re: Changing code from button click
Untested concept…
Code: Select all
#SingleInstance, Force
SetWorkingDir % A_ScriptDir
IniRead, value,% A_ScriptName, section, key
SetKeyDelay := value
F11::Send % "We've been this fast: " value
F12::
InputBox, newValue, TheSpeeder, How fast next time?
IniWrite,% newValue,% A_ScriptName, section, key
Reload
/*
[section]
key=500
*/