I shouldn't help people so just give me thanks if I did
that's all
that's all
Quote:
Global $Paused
HotKeySet ("{F5}","Start")
HotKeySet ("{F6}", "TogglePause")
HotKeySet ("{F7}", "Terminate")
AutoItSetOption ( "MouseClickDelay" , 0 )
While 1
Sleep (50)
WEnd
Func Start()
While 1
MouseClick("left")
WEnd
EndFunc
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(5000)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
Or just better script in c#Quote:
you could use a simple autoit script:
private void myControl_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (textBox1.text)Keys.Insert)
{
myControl_KeyPress.True
}
else
{
myControl_Keypress.False
}
}
oooooooor just use this tool which way is more easier? : oQuote:
Or just better script in c#
Where textBox1.text is already designed for mouse clicks.,Code:private void myControl_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (textBox1.text)Keys.Insert) { myControl_KeyPress.True } else { myControl_Keypress.False } }