Ok so i was able to piece together my script last night after searching through this forum. One item i could not find was when exporting a PDF the "generating pdf" status box normally pops up when the procedure is done manually. When executed through the script though, it is done in the background.
Does anyone know the correct object/method to turn on this window while the PDF and IDML are being created?
Do you use the "new" "asynchronousExportFile()" method?
If so, you could do it the "old" way in the foreground by using the "exportFile()" method.
For the pop-up menu when exporting a PDF you could set the "showingOptions" argument to "true" in the export method:
exportFile (format: varies, to: File[, showingOptions: bool=false][, using: PDFExportPreset][, versionComments: string][, forceSave: bool=false])
Here an example:
where "pdfFullName" here is a user defined variable that would be defined by a prompt the user will answer when using the script.
The third argument in that method by default is "false". If you change that to "true", you'll get the pop-up, where the user sees the usual PDF-Export dialog.
awesome this worked perfect, also was able to spend some time looking at scriptUI and was able to get all of this figured out, many thanks!