Jump to content
Gnrsu

how to make autoit script monitor keyboard or mouse to call a function?

Recommended Posts

IMO OP wants to learn AutoIt for similar tasks


A cross-platform implementation of the AutoIt language

My contributions to the AutoIt Community ##AutoIt at freenode, real-time chat

3fHNZJ.gif

Spoiler

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) intend to do that to anybody.

Share this post


Link to post
Share on other sites

HotKeySet() worked, but I cann't see the IsPressed() function?

 

It's not IsPressed but _IsPressed (includes the underscore). It's in Misc.au3.

See: https://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm


Roses are FF0000, violets are 0000FF... All my base are belong to you.

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

×
×
  • Create New...