Jump to content

Autoit simple time delay help ?


 Share

Recommended Posts

Hi im new to autoit and need a simple function, i think

what I have is below

HotKeySet("{ESC}", "Terminate")
While 1
MouseClick("left", 1300, 785, 1, 14)
MouseClick("left", 463, 704, 1, 32)
MouseClick("left", 995, 545, 1, 14)
MouseClick("left", 848, 604, 1, 25)
MouseClick("left", 676, 592, 1, 10)
MouseClick("left", 887, 608, 1, 0)
WEnd
Func Terminate()
    Exit 0
EndFunc

 

I want to then add another function after a 10 mintute delay that allow three more mouse clicks to happen , then repeat. but i want the above mouce clicks still to be happening in the 10 minute delay ?

 

any help would be appreciated, and sorry if im being a retard lol

Edited by peterpbrown
Link to comment
Share on other sites

Link to comment
Share on other sites

Welcome to AutoIt and the forum!
Can you please tell us which program you try to automate?
MouseClick depends on screen resolution and window position so it is - in most cases - not very reliable. Most of the time there are other ways to do what you want to do.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

That's what I feared!
You seem to have missed to read the forum rules on your way in. Please do so now!
Game automation of any kind is not permitted on this forum.

Hope to see you soon with a legitimate question :)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

im trying to auto the fifa 16 web app

:D I laugh everytime

I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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