marko001 2 Posted July 27, 2011 Easy task: _FileWriteFromArray($DB_file, $DB_array, 1) $DB_array is 42.000 lines long, so it takes a bit before the file is ready. Is there a function (or a way) that can let me wait until the file is closed and ready to be used? I mean something like RunWait function, it pauses script execution until the program finishes. Thanks everyone. M. Share this post Link to post Share on other sites
JohnOne 1,603 Posted July 27, 2011 "Is there a function (or a way) that can let me wait until the file is closed and ready to be used?" Yes, when the function returns 1. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites