Jump to content
peterpbrown

Autoit simple time delay help ?

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

Share this post


Link to post
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 2019-08-19 - Version 1.4.13.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-07-24 - Version 1.3.6.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (NEW 2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Taks Scheduler (NEW 2019-10-09 - Version 0.9.0.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki

 

Share this post


Link to post
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 2019-08-19 - Version 1.4.13.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-07-24 - Version 1.3.6.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (NEW 2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Taks Scheduler (NEW 2019-10-09 - Version 0.9.0.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...