Jump to content

Recommended Posts

Posted

Hello guys! I have a problem with loop in AutoIT.

I want to run this code for 2 minute. Who can help me with this problem? I'm a newbie.

Code:

While 1

Local $x=0, $y=o

Local $search=_ImageSearch(@ScriptDir&'\saferespawn.bmp',1,$x,$y,0)

If $search=1 then MouseClick('main',$x,$y)

Endif

Sleep(120000)

WEnd

Sorry for my bad english

Thanks a lot

Posted
3 minutes ago, JLogan3o13 said:

@ATR, generally when a Moderator has entered a thread, it means you need to butt out while they ascertain the legitimacy of the question...

OK ! :) I took note ! sorry

  • Moderators
Posted

@anphat1995 That is what I figured. It appears you strolled right past our forum rules on your way in. I suggest you take a look at them now, especially the section on game automation, and you will see why this thread is now locked. You will not get any assistance on this subject.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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