Cabinetman Posted September 2, 2011 Posted September 2, 2011 I'm trying to use the ..... Check Whether File Exists - new File( pathToFile ).exists() .... to import after a file is created. The problem is the other program is still writing to the file so I don't get all the records. Any ideas on how to keep it from importing until the other program is done? Practical example: Printing postage with Endecia... Script: Print Postage.... Loop set variable [$$file_exists ; value:CheckWhetherFileExists( "C:\folder\Data-output.xml" ) exit loop if [$$file_exists = 1] pause/resume 5 seconds End Loop I thought about continuing the loop until all records come back but that wont work if 1 address is invalid................
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