Jump to content
Macro Express Forums

Repeat Until Function


H2o-KiD
 Share

Recommended Posts

I've tried to used the "Repeat Until" and it wasn't working fine for me. Please guilde and teach me. Thanks and I appreciate all helps.

 

Here's an example how I've did :

 

Get Pixel: Screen Coords: 188,558 into %N99%

Repeat Until %N99% = 51183

Text Type: <F7>

Delay 3.5 Seconds

Mouse Move Screen 535, 267

Delay 100 Milliseconds

Mouse Right Button Down

Delay 100 Milliseconds

Mouse Right Button Up

Delay 5 seconds

Repeat End

Link to comment
Share on other sites

You need to move the Get Pixel command inside the repeat loop.

Get Repeat Until %N99% = 51183
 Pixel: Screen Coords: 188,558 into %N99%
 Text Type: <F7>
 Delay 3.5 Seconds
 Mouse Move Screen 535, 267
 Delay 100 Milliseconds
 Mouse Right Button Down
 Delay 100 Milliseconds
 Mouse Right Button Up
 Delay 5 seconds
Repeat End

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...