Jump to content

help - important


Recommended Posts

i wrote this script and ran it ... and now my keybard is completey unresponsive... please help undo w/e i screwed up please.

im currently using the on-screen keyboard.

#include <Misc.au3>

HotKeySet( "{HOME}", "_Spam")
HotKeySet( "^e", "_Exit")
HotKeySet( "^v", "_Test")
Global $Paused

While 1
    Sleep( 500 )
Wend

Func _Spam()
    $dll = DllOpen("user32.dll")
    Send("{SHIFTDOWN}")
    MouseDown("left")
    Do 
        Sleep(100)
    Until _IsPressed("23", $dll)
    MouseUp("left")
    Send("{SHIFTUP}")

        
    DllClose($dll)
EndFunc

Func _Exit()
    Exit
EndFunc
    
Func _Test()
    $dll = DllOpen("user32.dll")
    Send("{SHIFTDOWN}")
    Do 
        Sleep(250)
    Until _IsPressed("23", $dll)
    Send("{SHIFTUP}")

        
    DllClose($dll)

EndFunc
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...