Jump to content

script loop ?


Rouge
 Share

Recommended Posts

Hello everyone,

I make script to install foxit and the scritp allways loop.

the script install foxit, but after he re-install ansd re-install .....

DirCreate ("z:\foxit")
InetGet ("ftp://clubicvisiteur31645:1226415500@ftpclubic22.clubic.com/temp-clubic-rx316/logiciel/foxit-pdf-reader_foxit_pdf_reader_2.3_build_3309_francais_13808.exe", "z:\foxit\foxit.exe")
Run ("z:\foxit\foxit.exe")

WinWait("Foxit Reader Install Wizard","WARNING: This program is prote")
ControlClick("Foxit Reader Install Wizard","WARNING: This program is prote","Button1")

WinWait("Foxit Reader Install Wizard","New feature")
ControlClick("Foxit Reader Install Wizard","New feature","Button1")

WinWait("Foxit Reader Install Wizard","Please read the license terms ")
ControlClick("Foxit Reader Install Wizard","Please read the license terms ","Button1")

WinWait("Foxit Reader Install Wizard","Use default settings for all c")
ControlClick("Foxit Reader Install Wizard","Use default settings for all c","Button1")

WinWait("Foxit Reader Install Wizard","Click Install to continue with")
ControlClick("Foxit Reader Install Wizard","Click Install to continue with","Button1")

WinWait("Foxit Reader Install Wizard","Setup has successfully install")
ControlClick("Foxit Reader Install Wizard","Setup has successfully install","Button1")
;Run("c:\windows\system32\ewfmgr c: -commit")
Break (0)
Exit
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...