Debugger question ???

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Debugger question ???

    I am executing this command in the JS debugger for a PDF Form that is loaded and being displayed:

    saveAs("Z:\\Test.tif","com.adobe.acrobat.tiff");

    I get - the following output ..

    undefined

    Can you assist me in interpreting this very terse message from the JS debugger :)
    michael_eisenman@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. flash debugger.
      Guys, I need to debug flash file. Is there any macromedia flash debugger. can you pls give the site url where can I found them. Your quick...
    2. Debugger Issues
      After installing the new MX2004 remoting (client-side) i'm unable to see any variables in the debugger window. I click on the tab but nothing shows...
    3. debugger
      Hello all, When using the perl debugger, is there a way to load in the breakpoints and watch variables that I want from a file. I am using it now...
    4. Debugger question
      I was running the perl debugger with arguments "-d -e 1" to test a small program. When I assigned a value to the variable $foo, I could use it...
    5. debugger for AIX
      On Thu, 31 Jul 2003 20:25:54 +0300 "Geeco" <hey01@luukku.com> wrote: Hello, I've never used dbx, ddd. But I have some experience of using...
  3. #2

    Default Re: Debugger question ???

    Use something like:

    this.saveAs();
    Bernd Alheit Guest

  4. #3

    Default Re: Debugger question ???

    I have the following code in my Javascript file :

    MHCTIFFSave = app.trustedFunction( function (File,cFile)
    {
    app.beginPriv();
    this.saveAs(File,"com.adobe.acrobat.tiff");
    app.endPriv();
    }
    );

    WHen I execute it in the debugger - I get this :

    MHCTIFFSave("Z:\\Test.gif","test");
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.saveAs:4:Console undefined:Exec

    undefined

    I thought that this was a trusted function and this would prevent me from seeing this message .
    michael_eisenman@adobeforums.com Guest

  5. #4

    Default Re: Debugger question ???

    The parameter cPath must have a safe path. A path cannot point to a system critical folder, for example a root, windows or system directory. Read the documentation of method saveAs.
    Bernd Alheit Guest

  6. #5

    Default Re: Debugger question ???

    Yes indeed -

    Thank you kindly ,
    I am off and runnig - and its working like a champ
    thanks for the help .
    michael_eisenman@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139