Jump to content
Sign in to follow this  
h3nno

user input

Recommended Posts

h3nno

Hi, i am wondering if there is a way to have the user press a key and pause and unpause a process.

If({"x"}) Then
    MsgBox(0, "test", "poo")
    EndIf

({"x"}) being the user pressing x

Share this post


Link to post
Share on other sites
Jos

Hi, i am wondering if there is a way to have the user press a key and pause and unpause a process.

If({"x"}) Then
    MsgBox(0, "test", "poo")
    EndIf

({"x"}) being the user pressing x

Check HotKeySet() in the helpfile .. :whistle:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
h3nno

Check HotKeySet() in the helpfile .. :whistle:

thanks :lmao: lol i just figured it out after i made the post.

and i have checked the HotKeySet() help

HotKeySet("MouseClick ($primary)" , "test")

but is there some way to make that work? ;)

(i have defined $primary as the primary click previously.)

Share this post


Link to post
Share on other sites
Jos

thanks :whistle: lol i just figured it out after i made the post.

and i have checked the HotKeySet() help

HotKeySet("MouseClick ($primary)" , "test")

but is there some way to make that work? :lmao:

(i have defined $primary as the primary click previously.)

_IsPressed()

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  

×