Illustrator Script - Open TIFF or PSD without options dialog
I'm writing a script that opens a series of TIFF files in Illustrator and re-saves them as EPS files after performing a few operations. I specifically need to open each file and "Convert Layers to Objects" per the TIFF Import Options. While I'm currently working with TIFF files for my input, I can change that to PSD input files if necessary so if you have any info regarding that instead of TIFFs, that may help too.
App.open() works to get my files open, but it also brings up the TIFF Import Options dialog box, which hinders the script's efficiency because this will need to run with little to no human interaction outside of an initial button press to start the script.
It seems like the answer would be in calling the open() method with a second argument for my open options, but I can't find any documentation that outlines the possible open options. Can anyone point me in the direction of the proper documentation for this or tell me how to figure out the open options for opening TIFFs in Illustrator?
Note: This project requires that I specifically open a layered TIFF or PSD directly in Illustrator so unfortunately importing my files into an existing file and then embedding them won't suffice here.