×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Javascript Problems

Problem with app.activeDocs by Murgle
Posted: 9 Jan 03

The following is an extract from the readme file provided with Acrobat 5.05.

JavaScript Updates in Acrobat 5.0.5
-A new boolean property, "disclosed" is available for the Doc object, and its default value is "false",
-Even if the API call app.openDoc is successful opening the requested document, it returns value "false" to the caller unless the opened document sets Doc.disclosed to "true" as part of a Doc-level script. If Doc.disclosed is "true", Doc.openDoc returns the Doc Object of the document opened by this method,
-app.activeDocs only includes in the returned array the Doc Object for each active document open in the Viewer that has set Doc.disclosed to "true" at the time of app.activeDocs invocation.[463695].


To cut a long story short, put -

this.disclosed=true;

as a document javascript to sort it out.

Back to Adobe: Acrobat FAQ Index
Back to Adobe: Acrobat Forum


My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close