Sign in to follow this  
Followers 0
inloveofrapo

How to make a script that clicks by it self each 0.1 sec?

13 posts in this topic

#1 ·  Posted (edited)

Well, How do i make a script clicking each 0.1 sec when i press alt + shift + s?

And how to stop it when i click alt + shift + a?

Could somebody script it or help me with it please?

Edited by inloveofrapo

Share this post


Link to post
Share on other sites



Take a look at the functions HotKeySet() Sleep() and MouseClick()/ControlClick() in the helpfile. Try coding a bit first. Then I'll help you any further if you're stuck.


[right]~What can I say, I'm a Simplistic person[/right]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Also, How can i check my own posts i made?

I mean, my first post, how do i find that for example?

- Well, I allready looked in them, I dont understand anything at there, Thats why I posted, Help please?

Edited by inloveofrapo

Share this post


Link to post
Share on other sites

click in the left top corner on your own account name.

then theres a tab in the center of your screen with the name : topics where you can see what topics you made.

gl

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

*sigh*

HotKeySet("!+s","Start")
HotKeySet("!+a","Stop")

While 1
    If $clicking = True Then
        MouseClick("Left")
    EndIf
    sleep(100)
WEnd

Func Start()
    $clicking = True
EndFunc

Func Stop()
    $clicking = False
EndFunc

good luck with it.

EDIT: if you can't write this simple script by knowing which functions to use and reading the help file to know how to use the functions, then stop using autoit.

Edited by toonboon

[right]~What can I say, I'm a Simplistic person[/right]

Share this post


Link to post
Share on other sites

Well, Tried your script, I get error on line 17

"Line 17

If $clicking = true then

If ^ ERROR

Error : Variable used without being declared"

???

Share this post


Link to post
Share on other sites

Could need some better help here.

Share this post


Link to post
Share on other sites

I would recommend to start reading the Autoit docu.

In the help file there is a whole section for beginners. Go from "Introduction", "Frequently Asked Questions", "Using Autoit" to "Tutorials".

After having understod the concepts of Autoit it will be much easier to code scripts, understand error messages and get help from other users.

Sorry, but this is a task you'll have to do on your own.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

So its not even possible to get a bit help on this site? lol ?

Just simple need this one, nothing else from you guys, please? -.-

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Well, Tried your script, I get error on line 17

"Line 17

If $clicking = true then

If ^ ERROR

Error : Variable used without being declared"

???

gosh, if the variable isn't being declared, maybe you need to declare it before it is being asked for?

EDIT:Code Removed

MsgBox(0,'',"LEARN AUTOIT!")

also, STOP PMING ME... I will look back to the thread. And if you really feel you need to pm me, do so with a useful question/comment or such, don't just paste the link to this thread.

As I said before, if you are such a lazy fucking moron that you cannot even come up with the correct coding after I gave you 95% of it, stop using AutoIt.

Edited by toonboon

[right]~What can I say, I'm a Simplistic person[/right]

Share this post


Link to post
Share on other sites

Moron, No body asked for your e-rage here, Fuck your self fucking idiot, I Posted so I could get some help here, Not some rage, idiot, learn read.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Moron, No body asked for your e-rage here, Fuck your self fucking idiot, I Posted so I could get some help here, Not some rage, idiot, learn read.

What???

You ungrateful little piece of shit, your behaviour is not tollerated here.

You get 3 days to think about it and better not return when you are not prepared to behave.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0