Jump to content

Looking for a way to make AI go to the next command faster.


Recommended Posts

  • Developers

I'm trying to decrease the time it takes for AI to go to the next line of code.

Faster computer ?

Jos

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

SendKeyDelay isn't what I'm looking for.

Send("frank")

MouseMove(4, 124)

Send("Frank has a sister")

I'm trying to decrease the time it takes for AI to go to the next line of code.

Perhaps:
MouseMove(4, 124, 0); 0 Speed = instantly

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • Developers

I'm not trying to increase how fast it sends the letters, I'm trying to increase how fast it goes from one command to another.

What is the difference?

Isn't it the case that when a line is completed faster that the next line is executed sooner ?

Maybe you could explain what you mean with your question because you are pretty vague up till now.

Jos

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

  • Moderators

Keep in mind that AutoIt won't go to the next line of code until the line it is currently on is done.

So in your example, SendKeyDelay does make a difference, as well as setting the speed to MouseMove() to zero or 1. The faster the settings, and ultimately the speed of the PC, will help in faster execution of code.

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.

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...