Sign in to follow this  
Followers 0
GreatWall

how to get the behavior of pressing a button in a application

4 posts in this topic

i wanna give some response to the user who pressed a button in a specified programme. how could i do that?

i look for help through the AutoIt Help but get nothing. who could help me?

Share this post


Link to post
Share on other sites



Download Beta and look at _IsPressed()


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

it seems useless to use the funciton _IsPressed cause it only catch the key the user input.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

ControlGetFocus() / _IsPressed('01')

Edit:

I am assuming this is an outside application, or is it your own?

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0