Jump to content

Help me (About switchless command)


Recommended Posts

How can i use switchless command in autoit script?

i can install all program with bat file to use switchless code. Like setup.exe /s ....

But when i use autoit i have to write like this code

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x / NT
; Author:     fourte3n
;
; Script Function:
; A-Squared 1.5 Free -  Install
;
; ----------------------------------------------------------------------------


; ----------------------------------------------------------------------------
; Set up our defaults/Variables
; ----------------------------------------------------------------------------

AutoItSetOption("WinTitleMatchMode", 1)
$SF= "a2freesetup.exe"

; ----------------------------------------------------------------------------
; Script Start
; ----------------------------------------------------------------------------

Run($SF)

WinWaitActive ("Select Setup Language")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("!N")
WinWaitActive ("Setup - a-squared free")
Send("{TAB}" & "{UP}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")
WinWaitActive ("a² Updater")
WinKill("a² Updater", "")
WinWaitActive ("Setup - a-squared free")
Send ("{ENTER}")


; ----------------------------------------------------------------------------
; Script End
; ----------------------------------------------------------------------------

Can i use switchless code in autoit script?

[b]Run("setup.exe","/s")[/b]
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...