Ted at Miles Posted September 14, 2006 Share Posted September 14, 2006 I have an autoit script that is pulling data off a large billing system. After a report compiles in the billing system (started by AUTOIT oc course) it saves the file. After the save is done I want autoit to then continue. How do I make it pause while a DOS window is compiling? Is there a way to do it using explore folders and files? The place it needs to pause is at the end of this script,. Before is copies the file to the C drive. I have to run this script about 150 times, and would like to find a way to make it pause only until the file is saved. The time is takes varies a great deal. One prov might take 2 minutes, another might take 45 minutes.GET_P011_AGINGS_ALL_LOCATIONS_ALL.au3 Link to comment Share on other sites More sharing options...
blademonkey Posted September 14, 2006 Share Posted September 14, 2006 well since the Medisense is doing the save, you could look for a end string at the end of the txt file (if there is one) or do a filescan until medisense doesnt have a filehandle open to that specific file. -B ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung Link to comment Share on other sites More sharing options...
randallc Posted September 14, 2006 Share Posted September 14, 2006 Hi, Would 1. Waiting till cmd.exe no longer running help. OR? 2. wait till filegetsize is zero [or not returning as in use], then wait till not zero, then wait till file getsize not changed over 10 secs etc? Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW 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