anphat1995

I meet loop problem

7 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



#2 ·  Posted

@anphat1995 which game is this for?

1 person likes this

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

<snip>

Edited by JLogan3o13

Share this post


Link to post
Share on other sites

#4 ·  Posted

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


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


Link to post
Share on other sites

#6 ·  Posted

3 minutes ago, JLogan3o13 said:

@anphat1995 which game is this for?

I want to farm point in Bluestacks game. Can you help me, please?

Share this post


Link to post
Share on other sites

#7 ·  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.

2 people like this

√-1 2^3 ∑ π, and it was delicious!

Share this post


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