11 Replies Latest reply on Apr 15, 2010 3:54 AM by Harbs.

    How to prevent document from opening?

    liedzeit Level 2

      Is there a way to cancel the opening of a document? Background: If document is not on a local machine user should not open it.

      I have an eventlistener that gets the afterOpen event of the document but I do not know how to cancel the event. This must be possible somehow? And, of course I would like to use the before Event. (Unfortunately the "Understanding the Event-Scripting Model" chapter in Scripting Guide is not quite enough for me to understand the  Event-Scripting Model.)

       

      Thank you,

      Ralf