Sign in to follow this  
Followers 0
rukhsina

Compilation EXE fail..Why?

3 posts in this topic

Hi there,

Im new to this great AutoIt. I hope someone can help me with au3 script.

I create my first script for auto-install DivXOVSPlayer. I test my script with right click-run and worked fine.

I compile the script with added new code to avoid running same application again and again. Then I test the

compilation exe, nothing happen but only the icon stay in tray. Please can someone check my script what went wrong.

;) Im appreciate with the help. Sorry for my english. TQ

$SF_1 = "DivXOVSPlayer.exe"

If WinExists($SF_1) Then Exit

AutoItWinSetTitle($SF_1)

Run('DivXOVSPlayer.exe')

WinWaitActive("Language selection", "English")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Welcome to the DivX OVS Bundle installer")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup ", "License Agreement")

Send("{ALTDOWN}a{ALTUP}{ENTER}")

WinWaitActive("DivX OVS Bundle Setup ", "Choose Component")

Send("{DOWN}{SPACE}{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Choose Install Location")

Send("{ENTER}")

WinWaitActive("DivX OVS Bundle Setup", "Installation Complete")

Send("{ALTDOWN}c{ALTUP}")

Exit

Share this post


Link to post
Share on other sites



LOL One of the most amusing mistakes ...

It looks like your trying to give your script the same name as the application you want to control

Just change that and everything should be fine

whim

Share this post


Link to post
Share on other sites

LOL One of the most amusing mistakes ...

It looks like your trying to give your script the same name as the application you want to control

Just change that and everything should be fine

whim

Is that soo, ok i try to rename... tq whim ;)

Share this post


Link to post
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
Sign in to follow this  
Followers 0