Jump to content

Recommended Posts

Posted (edited)

How i make script that wait until I press enter (Dont use HotKey command)

Any ideas?

Edited by au3scr
Posted

Like this?

#include <Misc.au3>
While 1
    If _IsPressed("0D") Then
        MsgBox(0,"","You pressed the enter key")
    EndIf
    Sleep(50)
WEnd

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
×
×
  • Create New...