Jump to content

Newbie need help on auto it


xech
 Share

Recommended Posts

Hi Guys I need to automate a program that auto clicks an application, I use jitbitmacro recorder but I don't know If autoit can do the same thing, I think it sure does, If it can how can i do it?. Well The idea is that I have a sequence of clicks recorded with proper timing that complete a task I have to do, after the sequence is done, I need to do another sequence which I recorded also, It has all clicks and timing in place, After both sequences are done, I want the bot to wait for about 4 ~ 5 hours and repeat the two sequences again. This whole process I want it to be automated, How can I do this?, and can I record clicks and keystrokes as well in auto it so it doesn't have to worry about opening jitbitmacro recorder to play the sequences?. I really would like that autoit to do everything including clicks and keystrokes so it doesn't have to open jitbitmacro beacuse it may crash.

Thanks

Link to comment
Share on other sites

You can MouseClick(), Sleep(), and Send()

AutoIt also has a recorder that is probably exactly the same as what you already use

However, depending on what you are automating you can probably bypass all these and have it click and send what you want accurately, without waiting for specified times.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

thanks I found the Au3record, It records my movements, after that I can just add and tweak whatever i like and make it an exe then loop it. I think it's not going to crash or anything and its way better than the crappy macro recorder i used. I am learning this powerful automation tool, i didn't know it could be this simple!. Thanks Guys

Edited by xech
Link to comment
Share on other sites

As I started to say, depending on what the program is, you might be able to use ControlClick(), WinWaitActive(), ControlSend()

Then you don't have to worry if the window opens in time, or if controls are in the correct position, etc.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

  • Developers

Isn't there something about bots in the rulebook?

Does this mean you are unsure and haven't read them?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Isn't there something about bots in the rulebook?

No, there is something about games interaction/automation

bot != game all the time

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...