Jump to content

How do I autospam?


Recommended Posts

Don't worry about the X and Y numbers, thats the coordinate for where the simulated click will take place. To set where the click will take place, click the position button, then click where you want the simulated click to take place. The coordinate is there merely for your benefit, so you know where you clicked.

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

  • Replies 49
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I don't know how it took three pages to debug all those simple bugs, but whatever :D

If you ever need any modifications done, just ask me, I'll be happy to help :P

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

How that will help ? Well, first off, it's pretty retarded. You create a new label every time you want to

change the text, when you can just update the already existing label with the new text. It's not only

the proper way to do it, it's insanely logical when you know that it's possible. Secondly, if you make

a habit out of doing it the way you did it, you will reach a point where your GUI will stop updating,

due to the fact that it's exists a maximum number of controls in a GUI.

When looking at the script below, you would expect it to create 5000 labels right, but it magically

stops at the number 4096, which is mentioned in the limitations of AutoIt.

GUICreate("", 300, 50)

For $i = 1 To 5000
    GUICtrlCreateLabel($i, 10, 10, 280, 30)
Next

GUISetState()
Sleep(4000)
Link to comment
Share on other sites

A little late on the post eh? :D

I was already aware of the labels being created over and over again, but thanks for the help anyways :P

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com
Link to comment
Share on other sites

Late ? Well, since you questioned Zedna's method and he only explained one reason for doing it

his way, I though I could comment on the other sides of it, where the the maximum limit is one

part of it. Plus I really felt like putting my drill to your brain, and try to make it obvious that it's

extremely logical to not create another label, but update the text instead. Capiche ?

Edited by Helge
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...