
flyonthewall
Active Members-
Posts
62 -
Joined
-
Last visited
About flyonthewall
- Birthday 06/07/1968
flyonthewall's Achievements

Wayfarer (2/7)
0
Reputation
-
well i certainly didn't mean to surprise you by this kind of request. no need to be sorry. it's me who should be sorry for such a trivial question. i always start w/the help file, and search the forum before i post, but this time i was in a bit of a rush and thought i was very nice when asking for any assistance. ciao
-
thank you very much. have a great day. ciao
-
hello, i have computerName log files, but they are from 2008 so this script only deletes from the current year. is there an easy way to change the from the current year to 2008? any assistance would be greatly appreciated. thanks $root= "\\server\folder1\folder2\folder3\Logs\" ;~--------- if log exists the sends to recycle If FileExists( $root & @ComputerName & "-" & @YEAR & "-" & @MON &"-" & @MDAY & ".log") Then FileRecycle($root & @ComputerName & "-" & @YEAR & "-" & @MON &"-" & @MDAY & ".log") SplashTextOn('Sage 7.05 Log File','Users Sage 7.05 log file deleted!',400,100,150,150,0,'',22,200) Sleep(1000) Else ;---------- if file not found, then splash of users log file not found SplashTextOn('Sage 7.05 Log File','Users Sage 7.05 log file not found!',400,100,150,150,0,'',22,200) Sleep(1000) Exit(0) EndIf
-
ok. cool. ciao
-
i will take out the %. good point. will this script still run ok if i compile it first, then run on a computer that does not have autoit? so long i don't have " #include " ..right?
-
like a charm Valuater. WOW (just look at my eyes!) lol just what i needed. great stuff!!! ty Valuater ty GEOSoft
-
sorry. i know that you did not add the progressoff(). just trying to find a way to have the script continue after the progress starts, and then exit at the end. no worries. thanks again.
-
GEOSoft, thanks for the input i also declared the $Run variable. starts the script and progress fine, but the progress bar just loops, and the script is doa. the looping of the progress bar is just what i was looking for, but all i need now is to have the script continue on, and kill the progress after script is done. (ProgressOff() ???) updated code: $Run = '\\server\folder1\test72\folder2\test2.exe' $iProgress = 0 Run('\\server\folder1\test72\folder2\test2.exe') ProgressOn ("software", "Testing", "PLEASE WAIT...") While $Run ProgressSet( $iProgress,$iProgress & " %") $iProgress += 1 If $iProgress >= 100 Then $iProgress = 0 Sleep(50);; Change this to modify the refresh rate Wend Sleep(1000) WinWaitActive ("test Client Update - setup", "Welcome to the setup for test Client Update") WinActivate("test Client Update - setup") Sleep(1000) Send("!n") WinWaitActive ("test Client Update", "Welcome to the setup for test Client Update") Sleep(1000) WinActivate("test Client Update") Send("!n") WinWaitActive ("test Client Update", "Setup Complete") Sleep(2000) Send ("{ENTER}") ProgressOff()
-
martin, thank you for the reply. i'll try to setup a ProgressOn in the beginning and the ProgressOff at the end...w/no percentage during the install. ciao
-
hello, i would like to update my progress bar to basically move side to side (like battlestar galactica cylon laser) during the install, and then close after install complete. not having a progress bar for each part of the install ..showing constant movement during install. hope this makes sense and thank you for any assistance. ciao code: ;--------------- software install ;- ;- ;- ;---------------------------------------- ;---------- splash for update.exe $destination = "\\server\folder\script\Images\folder1\photo.gif" SplashImageOn("Software", $destination,477,345) Sleep(5000) SplashOff() ;---------- start of update.exe ProgressOn ("Software", "Aug2008Udate", "PLEASE WAIT...") Sleep(1000) Run('\\server\folder2\folder\Aug2008Update\update.exe') Sleep (3000) ProgressSet( 20,"20 %") WinWaitActive ("Software - InstallShield Wizard", "Welcome for Software") ProgressSet( 40,"40 %") WinActivate("Software - InstallShield Wizard") Sleep(1000) Send("!n") WinWaitActive ("Software", "Welcome for Software") ProgressSet( 60,"60 %") Sleep(1000) WinActivate("Software") Send("!n") ProgressSet( 80,"80 %") WinWaitActive ("Software", "Setup Complete") Sleep(2000) Send ("{ENTER}") ;-------- update.exe install complete ProgressSet( 100,"100 %","Software Aug2008Update Complete!") ;-------- splash of test_other install $destination = "\\server\folder\folder2\Images\testing\folder3.gif" SplashImageOn("software", $destination,477,345) Sleep(5000) SplashOff() ;-------- start of test_other install ProgressOn ("software", "Testing", "PLEASE WAIT...") Sleep(1000) Run('\\server\folder\testing\folder3\test_other') ProgressSet( 5,"5 %") Sleep(500) ProgressSet( 6,"6 %") Sleep(500) ProgressSet( 7,"7 %") Sleep(500) ProgressSet( 8,"8 %") Sleep(500) ProgressSet( 9,"9 %") Sleep(1000) ProgressSet( 10,"10 %") WinWaitNotActive("wizard", "Preparing to Install...") ProgressSet( 15,"15 %") WinWaitActive("test computer 7.2 Aug08 - wizard", "Welcome to the wizard!") ProgressSet( 20,"20 %") WinActivate("test computer 7.2 Aug08 - wizard") Sleep(2000) Send("!n") WinWaitActive("test computer 7.2 Aug08 - wizard", "License Agreement") WinActivate("test computer 7.2 Aug08 - wizard") Sleep(1000) Send("{UP}") ProgressSet( 40,"40 %") Sleep(1000) ProgressSet( 50,"50 %") Send("!n") WinWaitActive("test computer 7.2 Aug08 - wizard", "Customer Information") Sleep(2000) WinActivate("test computer 7.2 Aug08 - wizard") ProgressSet( 60,"60 %") Send("test") Sleep(500) Send ("{TAB}") Send("test") Sleep(1000) Send("!n") WinWaitActive("test computer 7.2 Aug08 - wizard", "Destination Folder") Sleep(2000) WinActivate("test computer 7.2 Aug08 - wizard") ProgressSet( 70,"70 %") Send("!n") WinWaitActive("test computer 7.2 Aug08 - wizard", "Ready to Install the Program") Sleep(2000) WinActivate("test computer 7.2 Aug08 - wizard") ProgressSet( 80,"80 %") Send("!i") WinWaitNotActive("test computer 7.2 Aug08 - wizard", "Installing test computer") ProgressSet( 90,"90 %") WinWaitActive("test computer 7.2 Aug08 - wizard", "wizard Completed") WinActivate("test computer 7.2 Aug08 - wizard") Sleep(3000) Send("!f") ;--------- software computer install complete ProgressSet( 100,"100 %","software test complete!")
-
great..i will give it a try. thks again. update*** works awesome! ty
-
thank you for the reply and the info. i was trying WinWaitActive but did not know how to close...but this works just fine below: If WinExists("Why did you uninstall? - Microsoft Internet Explorer", "") Then WinClose("Why did you uninstall? - Microsoft Internet Explorer", "") EndIf thanks again. ciao
-
thanks for the reply the variable _IECreate opens a new window, then _IEQuit closes the new window, but the browser window that was launched from the install remains open. hope that makes sense. thank you again. i'm still reading the help file, and searching as much as i can.
-
hello, at the end of an install, a new ie browser launches to ask the end-user for their email address and to be notified of updates... i only want to close this one ie browser in case they have several open. address http://www.xobni.com/uninstalled?ver=1.6.3...6-B07F2DEC90A3} any help would be much appreciated thanks #include <IE.au3> _IEQuit ( ByRef $o_object )
-
Copying file from mapped drive
flyonthewall replied to FordPrefect's topic in AutoIt General Help and Support
thank you Skruge. very nice. great help.