rukhsina Posted December 15, 2009 Share Posted December 15, 2009 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 Link to comment Share on other sites More sharing options...
whim Posted December 15, 2009 Share Posted December 15, 2009 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 Link to comment Share on other sites More sharing options...
rukhsina Posted December 15, 2009 Author Share Posted December 15, 2009 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 controlJust change that and everything should be finewhimIs that soo, ok i try to rename... tq whim Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now