Threesome Posted October 6, 2006 Share Posted October 6, 2006 (edited) HelloThis script unzips a file, after unzipping, it should open a txt-file and select-copy some text.When I run this script for the first time, it unzips the file and opens the txt-file, but it does not select some text in it (on the right bottem of my screen I see 1 AutoIt symbol). When I run the script for the second time, it unzips, opens the txt-file, select-copies some text => how it should be (on the right bottom of my screen I see 2 AutoIt symbols). What am I doing wrong?TNX Run("r:\#updates\Persm050101-0017UI.exe")WinWaitActive("Aphrodite - Upgrade & Install")Send("{ENTER}")WinWaitActive("WinZip Self-Extractor - Persm050101-0017UI.exe")Send("!u")WinWaitActive("WinZip Self-Extractor - Password")Send("gert")Send("{ENTER}")WinWaitActive("WinZip Self-Extractor", "OK")Send("{ENTER}")WinWaitActive("WinZip Self-Extractor - Persm050101-0017UI.exe","",5)Send("!c")$FilePath = "R:\apps\cipal\citoep\pb\oracle.ini"$FileHandle = FileOpen($FilePath, 0)RunWait("notepad " & $FilePath)WinWaitActive("Oracle.ini - notepad") ;WHEN I RUN THE SCRIPT FOR THE FIRST TIME IT STOPS HERESend("^{END}")Send("+{LEFT 4}")Send("^c")WinClose("Oracle.ini - notepad") Edited October 6, 2006 by Threesome Link to comment Share on other sites More sharing options...
this-is-me Posted October 6, 2006 Share Posted October 6, 2006 All Win* functions are case sensitive. WinWaitActive("oracle.ini - Notepad") Who else would I be? 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