Jump to content

need help making my script loop


spl147
 Share

Recommended Posts

the script runs once then stops........is there a way to make it run till there is no more updates? when the program opens a update pops up the script automates all the mouse clicks and the password entry.....but there r unlimited amounts of updates........

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
WinWait("Question","")
If Not WinActive("Question","") Then WinActivate("Question","")
WinWaitActive("Question","")
MouseMove(169,115)
MouseDown("left")
MouseUp("left")
WinWait("Select Setup Language","")
If Not WinActive("Select Setup Language","") Then WinActivate("Select Setup Language","")
WinWaitActive("Select Setup Language","")
MouseMove(169,127)
MouseDown("left")
MouseUp("left")
WinWait("Setup - AKTE-Bilder-Update","")
If Not WinActive("Setup - AKTE-Bilder-Update","") Then WinActivate("Setup - AKTE-Bilder-Update","")
WinWaitActive("Setup - AKTE-Bilder-Update","")
MouseMove(385,364)
MouseDown("left")
MouseUp("left")
MouseMove(148,298)
MouseDown("left")
MouseUp("left")
MouseMove(374,362)
MouseDown("left")
MouseUp("left")
MouseMove(223,8)
MouseDown("left")
MouseMove(-135,71)
MouseUp("left")
Send("{SHIFTDOWN}aktef{SHIFTUP}orum.{SHIFTDOWN}tk{SHIFTUP}")
MouseMove(391,360)
MouseDown("left")
MouseUp("left")
MouseDown("left")
MouseUp("left")
MouseDown("left")
MouseUp("left")
WinWait("Information","")
If Not WinActive("Information","") Then WinActivate("Information","")
WinWaitActive("Information","")
MouseMove(210,112)
MouseDown("left")
MouseUp("left")
Link to comment
Share on other sites

Try using the following commands

Do

Until

or

While

Wend

My Scripts[topic="73325"]_ReverseDNS()[/topic]Favourite scripts by other members[topic="81687"]SNMP udf[/topic][topic="70759"]Using SNMP - MIB protocol[/topic][topic="39050"]_SplitMon:Section off your monitor!, split your monitor into sections for easy management[/topic][topic="73425"]ZIP.au3 UDF in pure AutoIt[/topic][topic="10534"]WMI ScriptOMatic tool for AutoIt[/topic][topic="51103"]Resources UDF embed/use any data/files into/from AutoIt compiled EXE files[/topic]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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