Jump to content

read caracters typed


Recommended Posts

Hi all

1- how do i put in a variable a key pressed without an input box ?

ie while executing a script... if i press the key "s" this letter is

put in variable $a.

_IsPressed() only give me a 0 or a 1 but not "s"

2- can i nest while loops like this?

while 1

code....

while 1

code....

wend

wend

thanks in advance

Al

Edited by alram
Link to comment
Share on other sites

Hi all

how do i put in a variable a key pressed?

ie while executing a script... if i press the key "s" this letter is

put in variable $a.

_IsPressed() only give me a 0 or a 1 but not "s"

thanks in advance

Al

Hrm. I know there are examples of this on the forum. But why not just say:

If _IsPressed(XX) then $a = s

Or is this for a keylogger? If it is this topic will get locked and you will be warned about asking for one...

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