New Forum | Previous | Next | (P-PDF) Developers
Conf: (P-PDF) Developers, Msg: 54413
Date: 5/29/2002 05:05 PM
I know that if "app.openInPlace=False;" if used as a document level script in a PDF run in v4 it will set the option to the 'unchecked' non-default state at runtime (setting the flag via the menu requires an app re-start).
As running Reader from a CD writes the viewer state to the registry, it will also 'reset' the state any for Acrobat/Reader v4.x installed on the user's h/d (as all components "share" the viewer). So, to be well behaved in using the above method I should cache and reset the option state when done with my PDF.
I've figured out that a doc level script "varOptionState = app.openInPlace;" would cache the user's state prior to setting it to false via "app.openInPlace=False;".
As you can probably see, I'm a bit out of my depth with this stuff, but want to help out the folk who keep asking me this question. If I get this procedure sorted and tested I'll write up as a PDF for all to use (with attribution for source of the help) and post it at PlanetPDF like my primer on CD/Reader.
Regards to all,