parkerbl Posted January 26, 2006 Share Posted January 26, 2006 Hey guys. I have come yet again to seek the help of you all. I am writing a chunk of code for a scripted install of a particular program, and I was wondering if there was any way that during the install...where the files are actually being copied and the status bar is moving across, that I could pause the script and make it pick back up when the install is finished at that particular point and go on to the next screen or whatever? Any ideas? Link to comment Share on other sites More sharing options...
JSThePatriot Posted January 26, 2006 Share Posted January 26, 2006 Hey guys. I have come yet again to seek the help of you all. I am writing a chunk of code for a scripted install of a particular program, and I was wondering if there was any way that during the install...where the files are actually being copied and the status bar is moving across, that I could pause the script and make it pick back up when the install is finished at that particular point and go on to the next screen or whatever? Any ideas?Maybe a combination of WinWait()? Check out all the Win*() functions. They may be able to help you get that accomplished. WinExists() is anotehr that comes to mind.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Developers Jos Posted January 26, 2006 Developers Share Posted January 26, 2006 you have 2 options: RunWait();will pause the script till the launched program is finished. -or- $pid = Run() While ProcessExists($pid) ; Whatever you want to do Sleep(50) Wend SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
cdkid Posted January 26, 2006 Share Posted January 26, 2006 you could check control texts...like as soon as a button comes up saying "next" or "finish" then do w/e --hope this helps AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
parkerbl Posted January 27, 2006 Author Share Posted January 27, 2006 Thank you guys so much for the help...it has been tremendously appreciated. Another quick question I need to ask you all instead of opening up a new thread is. I am managing a group of large labs of computers that are all standardized to a certain specific with software and hardware down to the last detail, and one of the requirements is that all machines have the same desktop. Is there any quick way to set the desktop to a certain file via an AutoIT script rather than having to open the Display Properties box? Thanks again guys. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 27, 2006 Moderators Share Posted January 27, 2006 Used the search to come up with these links that may help you:http://www.autoitscript.com/forum/index.ph...0177&hl=desktophttp://www.autoitscript.com/forum/index.ph...6628&hl=desktophttp://www.autoitscript.com/forum/index.ph...6455&hl=desktop Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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