so im wanting t make a macro creator script but not like mouse record one a little different i can't really explain the problem better than this..
(19) : ==> Missing separator character after keyword.:
FileWriteLine($file, "MouseClick("left"," & $3 & ", $1, 1, 0)")
FileWriteLine($file, "MouseClick("left^ ERROR
heres the script
#Include <Timers.au3>
HotKeySet("{lctrl}", "_lclick")
HotKeySet("{lshift}", "_mousemove")
HotKeySet("{lalt}", "_rclick")
$thing = 1
While
If $thing = 1 Then
_Timer_Init()
Else
WEnd
Func _lclick()
_Timer_Diff($iTimeStamp)
$file = FileOpen("bot.au3", 1)
$thing = 0
$1 = MouseGetPos()
FileWriteLine($file, "Sleep(" & $iTimeStamp & ")"
FileWriteLine($file, "MouseClick("left"," & $3 & ", $1, 1, 0)")
$thing = 1
FileClose($file)
EndFunc
Func _rclick()
_Timer_Diff($iTimeStamp)
$file = FileOpen("bot.au3", 1)
$thing = 0
$2 = MouseGetPos()
FileWriteLine($file, "Sleep(" & $iTimeStamp & ")"
FileWriteLine($file, "MouseClick("right"," & $3 & ", $2, 1, 0)")
$thing = 1
FileClose($file)
EndFunc
Func _mousemove()
_Timer_Diff($iTimeStamp)
$file = FileOpen("bot.au3", 1)
$thing = 0
$3 = MouseGetPos()
FileWriteLine($file, "Sleep(" & $iTimeStamp & ")"
FileWriteLine($file, "MouseMove(" & $3 & ", 0)")
$thing = 1
FileClose($file)
EndFunc
please help me! all i need is an au3 wizard :scorcerer: