Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2158 closed Bug (No Bug)

While Wend Problem

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Other Severity: None
Keywords: Cc:


I have a simple adfly program that i want to loop but the while statement says that there is no matching wend. i have looked through the form multiple times but nothing looks as if it interferes. maybe you can find it.

;sleep before closing
$var1 = 10000
;make a random number between 1 and 4
$LowerLimit = 1
$UpperLimit = 4
$RandomNumber = Random($LowerLimit,$UpperLimit,1)

IF $RandomNumber = 1 Then

$adlink = ""
Elseif $RandomNumber = 2 Then
$adlink = ""
Elseif $RandomNumber = 3 Then
$adlink = ""
Elseif $RandomNumber = 4 Then
$adlink = ""


#include <IE.au3>
$oIE = _IECreate($adlink)
$oObject = _IEGetObjById($oIE, "countdown")

$countdown = _IEPropertyGet($oObject, "innertext")

Until $countdown = 0
$oObject = _IEGetObjById($oIE, "skip_button")
_IEAction($oObject, "click")

Sleep ($var1)

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

Problem is simple and obvious. Should have been posted on the forum. This is not a support forum.

comment:2 Changed 12 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.