Jump to content
Sign in to follow this  

Java programmer with question

Recommended Posts


I am a java programmer in college right now in my senior year so I have an idea on how programming works. However I am not familiar with any functions that auto-it offers with the windows api let alone working with windows api directly.

Where do I look up or can someone be kind enough to tell me what type of function/code will I need to write to simulate a key being held down, or the mouse being held down. I have it where it sends a key stroke but I want it to act as if it were holding the key or mouse keys down. The only way i could think of now is to write a for loop that iterates for an extended period but that is inefficient to what I want to accomplish.

Additionally, where would I look or set the mouse pointer to a pixel on the screen.

Thanks for your time and help.

Share this post

Link to post
Share on other sites

Welcome to the forum! Glad to help.

Have you downloaded the full AutoIt Suite? If so, take a look at the following commands - (the help file is really well laid out in answering just about any question..)


Send - look at the {SHIFTDOWN} area of the list of keys.



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...