Jump to content
Sign in to follow this  
Hunter

Help With Macro.

Recommended Posts

Hunter

Hi, I'm trying to make a Macro for a game I play. Whats the code so I can make it Right Click a hole bunch of times and hold down Control.

Also I need the code for a Diolog Box that has 2 Check boxes and a Start button so they can eaither choose Auto Right click, Hold down Control or Both.

Thank You in Advance.

Edited by Hunter

Share this post


Link to post
Share on other sites
sulfurious

There are many ways to make a macro. I would start with some sendkey statements, and maybe some on mouse events. You should familiarize yourself with the functions and UDF functions. There are examples for every function that show how they work.

The logic part is up to you, but typically you 'watch' for a keystroke or a mouse event, then call your function that 'sends' the keys in the order/timing of your choosing.

As for your dialog box, there are sooo many examples both in the help file as well as on this forum that I would think you could fashion one inside of 10 minutes.

Around here you should post your attempted code even if it fails, so at least we can see you are trying :mellow:

Sul.

Share this post


Link to post
Share on other sites
Hunter

Your basically asking us to make your script for you :(

have you even tried doing it yourself?

Yea, Iv tried.

There are many ways to make a macro. I would start with some sendkey statements, and maybe some on mouse events. You should familiarize yourself with the functions and UDF functions. There are examples for every function that show how they work.

The logic part is up to you, but typically you 'watch' for a keystroke or a mouse event, then call your function that 'sends' the keys in the order/timing of your choosing.

As for your dialog box, there are sooo many examples both in the help file as well as on this forum that I would think you could fashion one inside of 10 minutes.

Around here you should post your attempted code even if it fails, so at least we can see you are trying :mellow:

Sul.

Well, I deleted my attempt at making it. But I will defanatly keep my next attempt. Edited by Hunter

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.