I don't think this is actually a scripting issue.
The speed at which InDesign creates an interactive pdf is not something
that can be changed with a script.
However, you may want to ask on the main InDesign forum to see anything
can be done to your files to make the export process quicker (perhaps
reducing graphics in photoshop first, etc.) An hour and a half for a PDF
clearly is problematic.
Could be someone there has an idea.
Thanks for the reply. I agree, the script itself is not the issue. I was hoping someone out there knew of a little export preference/setting that could help me out. I know reducing the quality of some of the graphics or even the PDFs themselves would help reduce the time it takes. Reducing the quality of both graphics and the output PDF have been attempted. However, 3D Issue allows for zooming in and when the output quality has been reduced and a user zooms in it looks pretty bad. Also it didn't give me enough time/quality trade-off to justify reducing the quality.
I did however find another solution. PDFsharp is a great open source solution. Instead of creating all the INDDs and using InDesign create a INDB and export to a PDF. I can now create PDFs in the first place and use .NET and the PDFsharp library to combine all the PDFs into a single PDF. This is much faster and without any quality sacrifices! I wish I would have looked into this type of solution before spending hours trying to figure out a way to optimize the creation of an INDB.