Jump to content

Automated script - (Locked) - (Moved)


Recommended Posts

Hello,
I want to try with new script with Autoit.

Quote

Func write()
    
    $x =  1040 - $i * 70

If $i < 12 Then
    MouseClick($MOUSE_CLICK_LEFT, 225, $x, 2)
    sleep(4000)
    MouseClick($MOUSE_CLICK_LEFT, 808, 486, 1)
    sleep(4000)
    ClipPut(FileRead($File))
    Send ("^v")
    sleep(2000)
    ElseIf $i = 12 Then
    MouseWheel ("up", 4 )
    sleep(5000)
    ElseIf $i > 13 Then
    reset funce write()
    sleep(5000)
    EndIf

EndFunc

Lets make example: 12 x a, 1 x b, 12 x a, 1 x b.

How can I get it run 12 times with a script, then run 1 times with b script, then repeat again the loop in a Function ?

Link to post
Share on other sites
  • Developers

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Developers

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...