Hi Sir,
This may be will helpfull you.
My Conditions:
1) Open the inventor application
2) open one file from folder ( this folder containing same type of 1000 files)
3) close that file after my task, Then application want to open the next file automatically