Quote:
Originally Posted by Minecraftseller1337
is klar ! aber ich will das erst beim klick meine coordinaten gespeichert werden -.-
|
PHP Code:
Hotkeyset("{F11}","pos")
HotKeySet("{F10}","beenden")
While 1
WEnd
Func pos()
$pos = MouseGetPos()
MsgBox(0, "Mouse x,y:", "x = " & $pos[0] & " y = " & $pos[1])
IniWrite(@ScriptDir & "\position.ini",@MON & "-" & @MDAY & "Time: " & @Hour & "-" & @MIN & "-" &@SEC,"x",$pos[0])
IniWrite(@ScriptDir & "\position.ini",@MON & "-" & @MDAY & "Time: " & @Hour & "-" & @MIN & "-" &@SEC,"y",$pos[1])
EndFunc
Func beenden()
exit
EndFUnc
Vielleicht kannst du damit etwas anfangen, so speichere ich immer die positionen...