Jump to content

How can I register all words from the clipboard in *.txt


Recommended Posts

hi every buddy

How can I register all words wich i entered to the clipboard and put the word in a text file

thanks you

Something like this?

$LAST = ""
While 1
    $DATA = ClipGet()
    TrayTip("Clipboard",$DATA,1)
    If $DATA <> "" And $DATA <> $LAST Then
        $FILE = FileOpen("log.txt",1)
        FileWriteLine($FILE,$DATA)
        $LAST = $DATA
        FileClose($FILE)
    EndIf
WEnd

When the words fail... music speaks.

Link to comment
Share on other sites

Something like this?

$LAST = ""
While 1
    $DATA = ClipGet()
    TrayTip("Clipboard",$DATA,1)
    If $DATA <> "" And $DATA <> $LAST Then
        $FILE = FileOpen("log.txt",1)
        FileWriteLine($FILE,$DATA)
        $LAST = $DATA
        FileClose($FILE)
    EndIf
WEnd
no my friend

for exemple the code work and he registre every word i enter from the clip board and when i end the code all the word put in a texte file

thanks you

Link to comment
Share on other sites

no my friend

for exemple the code work and he registre every word i enter from the clip board and when i end the code all the word put in a texte file

thanks you

Don't be trick by there TrayTip, check your script dir for log.txt

When the words fail... music speaks.

Link to comment
Share on other sites

  • Developers

no ,i see log.txt but i don 't want the code in log.txt

i want every word i enter in the computer when the code works

As in: everything you type ?

Also referred to as keylogger?

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...