Guest User

Untitled

a guest
Oct 8th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.31 KB | None | 0 0
  1. #include <Misc.au3>
  2. Local $hDLL = DllOpen("user32.dll")
  3.  
  4. $del = send("{backspace}")
  5.  
  6.  
  7. Local $hFile = FileOpen(@ScriptDir & "\log.txt", 2)
  8. $file = FileRead($hFile)
  9. while 1
  10.   If _IsPressed("08", $hDLL) Then
  11.    $f = StringTrimRight($file, 1)
  12.    FileWrite($hFile, $f")
  13.   else
  14.   EndIf
  15.   sleep(500)
  16.  WEnd
Add Comment
Please, Sign In to add comment