Avatar

Level 10

There's also a openDoc method available to launch locally stored files.


try {


    // Open the "other.pdf" in the same directory


    app.openDoc("./other.pdf", event.target);


    // Close this doc


    event.target.closeDoc(true);


} catch (e) {}