다른 명령
새 문서: === clipboard_logger.au3 === <source lang=autoit> ; Script Name : clipboard_logger.au3 ; Author : Craig Richards ; Created : 25th January 2012 ; Last Modified : ; Version : 1.0 ; Modifications : ; Description : Will log all contents added to the clipboard, even if they use 1Passwd, Keypass, Lastpass etc #Include <clipboard.au3> ; Include the Clipboard Header file #Include <File.au3> ; Include the File Header file $oldclip="" ; Set the vari... |
잔글 개발노트 양식 일괄 적용 |
||
| 1번째 줄: | 1번째 줄: | ||
{{개발노트 | |||
|요약= | |||
|핵심= | |||
|분야=Autoit | |||
|작성일=2024-10-04 | |||
}} | |||
=== clipboard_logger.au3 === | === clipboard_logger.au3 === | ||
<source lang=autoit> | <source lang=autoit> | ||
2026년 11월 12일 (목) 12:45 기준 최신판
DEVCAFE NOTE
AutoitKEY POINTS · 핵심 정리
clipboard_logger.au3
; Script Name : clipboard_logger.au3 ; Author : Craig Richards ; Created : 25th January 2012 ; Last Modified : ; Version : 1.0 ; Modifications : ; Description : Will log all contents added to the clipboard, even if they use 1Passwd, Keypass, Lastpass etc #Include <clipboard.au3> ; Include the Clipboard Header file #Include <File.au3> ; Include the File Header file $oldclip="" ; Set the variable $oldclip to be blank While 1 ; While True, so continually run $clip=_Clipboard_GetData() ; Sets the variable clip, which gets the contents of the clipboard If $clip <> "0" Then ; If clip isn't zero then, If $clip <> $oldclip Then ; Don't log the same clipboard text over and over, if nothing has come in in 100 milliseconds _FileWriteLog(@UserProfileDir & "\clip.log", $clip) ; Write out to the clip.log file, this entry in timestamped. $oldclip = $clip ; Make oldclip the same as clip for this instance EndIf ; End the First IF Statement EndIf ; End of the Second IF Statement Sleep(100) ; Sleep for 100 Milliseconds WEnd ; End of the while loop