top | item 35132292

(no title)

iAmAPencilYo | 3 years ago

Would you mind sharing which tools you use or share the scripts? That sounds like a fantastic, no brainer way of saving stuff. I'm guessing there's a lot of noise too, like when you're editing code?

discuss

order

xeonax|3 years ago

I was not saying complete truth. It records much more details. I use the my home made https://github.com/XEonAX/Kiilogger

At work I use autohotkey script that dumps clipboard to a text file with a timestamp.

I will see if i can get the code.

xeonax|3 years ago

Autohotkey script starts from below line

  #Persistent
  SetTimer, rload, 3600000
  firstrun:=true
  return
  
  
  OnClipboardChange:
  if (firstrun=true)
   Goto, CONSECRUN
  Sleep,500
  curclip:=clipboard
  Sleep,500
  if oldclip<>%curclip%
   FIleAppend,  `r`n===============================  =======`r`n%A_DD%-%A_MMM%- %A_YYYY%: :%A_Hour%:%A_Min%:  %A_Sec%`r`n%Clipboard%,   %A_ComputerName%Tracker.clip
  oldclip:=clipboard
  CONSECRUN:
  firstrun:=false
  return
  
  
  rload:
  Reload
  Sleep 1000 ; If successful,  the  reload will close this  instance  during the Sleep, so the  line  below will never be  reached.
  MsgBox, 4,, The script could  not  be reloaded. Would you like  to  open it for editing?
  IfMsgBox, Yes, Edit
  return