Jump to content

Bekaarfaltu

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Bekaarfaltu

  1. Thank you @water. Just the value of $j needed to be reset to 0. Such a simple solution! @JockoDundee Your solution is much cleaner and simpler. For...Next loops seem better. Thanks!
  2. WinActivate ("LMS — Mozilla Firefox") Global $j = 0, $k = 0 Do MouseClick("left", 415, 205, 1) Sleep(2000) Do MouseClick("left", 1271, 858, 1) Sleep(10000) $j = $j + 1 Until $j = 2 ; Increase the value of $j until it equals the value of 2. $k = $k + 1 Until $k = 2 ; Increase the value of $k until it equals the value of 2. Exit The problem is that the second loop keeps on running. I'm obviously missing something simple. I'm new to this. Please help.
×
×
  • Create New...