Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Misc.au3>
- Local $hDLL = DllOpen("user32.dll")
- $del = send("{backspace}")
- Local $hFile = FileOpen(@ScriptDir & "\log.txt", 2)
- $file = FileRead($hFile)
- while 1
- If _IsPressed("08", $hDLL) Then
- $f = StringTrimRight($file, 1)
- FileWrite($hFile, $f")
- else
- EndIf
- sleep(500)
- WEnd
Add Comment
Please, Sign In to add comment