Le 09/06/12 15:54, Spencer Ted a écrit : <snip> > The app is closed and re-launched. More bits are to be added to the original batch file. It is allegedly found by (step 3): > > gBatchFile = Files$(_FSRefOpen,,"Open an existing Surface Tension project",gParentFolderRef) I might say something stupid but perhaps at step 3 the above should read (wondering why you're getting a parent folder ref when you have selected a file and not directly the file ref): gBatchFile = Files$(_FSRefOpen,,"Open an existing Surface Tension project",gFileRef) /* > if gBatchFile = "" then beep : edit field _efBatchFileName,"No Batch file" : exit fn > open "A", _openBatchFileNum, @gParentFolderRef > err = fn GetFileFSRef(gParentFolderRef, gBatchFile,@gFileRef) > close _openBatchFileNum > */ Alain