Jump to content
Sign in to follow this  
Lykac

Help with supersimple script !

Recommended Posts

Lykac

Hi guys , i'm just trying to make a script but im so bad with this, I need a script to repeat this sequence without limitation, any can help me?

 

#region ---Au3Recorder generated code Start (v3.3.7.0)  ---

 
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
EndFunc
 
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
 
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---
 
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
Send("111")
Sleep(3000)
Send("2")
Sleep(3000)
#endregion --- Au3Recorder generated code End ---

._.

Share this post


Link to post
Share on other sites
Lykac

i want the script press the number 1 three times, and wait 3 seconds, and press the key 2, and reapeat  that like 5 hours or more lol , how can i make that ?

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

Can you please tell us which program you try to automate? Often there are simpler and more reliable ways to do what you want.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - 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
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Lykac

it's just for a game... world of warcraft

Share this post


Link to post
Share on other sites
water

Then I suggest you read the forum rules! A link can be found in the lower right corner of each forum page.

Especially the part about game automation.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - 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
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Lykac

It's not for the official game, it's for a private of mine =/ ... i don't have money to pay monthly lol , i just need that comand to make the script repeat u.u

Share this post


Link to post
Share on other sites
water

Makes no difference. Game automation is game automation.We are quite strict about the rules here. Sorry.

Hope to see you with a legitimate question soon :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - 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
 
Tutorials:

ADO - Wiki

 

Share this post


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

×