Open the data object - accessory to open the file in the pdf document

I am trying to create a script that will open the attachments embedded in a pdf document.

I used the following javascript code to list all the files into a document so that I can retrieve the name

var d = this.dataObjects;

for (var i = 0; i < d.length; i ++)

Console.println ("Data Object [" + i + "] =" + d [i] .name);

The console has reported:

Data object [0] = MTP-300-X - 1210_A.pdf

Data object [1] = MTP-300-X - 1240_A.pdf

Then I used the following script to open the file

this.openDataObject("MTP-300-X-1210_A.pdf");

Console reports again as follows and does not open the file:

[object Doc]

Can anyone offer please help on how to open the attachment pdf embedded in a document?

Thank you very much!

When you open a PDF attachment with this method, it opened as hidden, and the hidden property is read-only if it is not editable after its opening. To display it so that it is not hidden, use the app.openDoc method. Use what you have to understand the type of path you specify. As test, try this in the console:

var oDoc = openDataObject("MTP-300-X-1210_A.pdf");

Console.println (odoc. (Path);

oDoc.closeDoc ();

It should show something like:

|/C/Folder1/Folder2/parentPDF.PDF| U:MTP - 300-X - 1210_A.pdf

This is the way that you use the app.openDoc method to open the PDF attachment so that it is not hidden the opening.

Tags: Acrobat

Similar Questions

  • Windows 8 - How to open the PDF documents and start application Menu choices in the Office of current work?

    I have recently upgraded to Windows 8 Professional.

    A question that I have, is that whenever I try to open a PDF document, it always opens in a new window dedicated, with a totally black background.

    Is it possible to open PDF documents on the desktop, so I can see the content PDF, on the same page as all my other apps open?

    Under earlier versions of Windows, can I go to the start menu, then select all applications, and they are listed in the form of office, as all my other applications already open.

    In Windows 8 Professional, I have not found a way to reproduce this behavior again!

    It keeps taking me to a completely different screen.  The one who looks like he could have been created for use with tablets.

    I hate this behavior on my regular PC and want to know if there is a way to use the old and classic views.

    I don't want to open the application menu in a separate window.

    So, two questions: 1) is there a way to open the PDF documents in the current working window?   (2) is there a way to disable the display of screen separate application and return to the old start menu request window, in the current working window?

    On Monday, may 27, 2013 18:15:57 + 0000, n01d3a wrote:

    Although I think it's nice that Microsoft has included a program to read pdf files I still prefer the original program, and one that we are probably most familiar with Adobe reader.

    Not to argue with you or pretend that you are wong, but I wanted to
    offer a different point of view. Although Adobe Reader is the most
    popular such program, it is not the only one. It is not one that suits,
    in my opnion. I prefer and recommend Foxit Reader, also free,
    http://www.foxitsoftware.com/Secure_PDF_Reader/

  • Popup to save and open while downloading the pdf document.

    Hi all

    I have a web application where in I have download the PDF documents on the server. When I try to add the document, when the document is downloaded, I get a popup asking to save or open. How can I remove the popup?

    In the Sub screen, when I download the sample document, once the document is added, I will get the popup view downloads. It is a web application and after clicking the AddFile, I get a file browser to select the file. Once the file download selected, the document is added and popup appears.

    Sample.JPG

    I have Adobe Reader addon activated in the addon section of manage. I'm sure it's a problem with the Adobe reader software since the problem is not with all my colleagues. Only a few have this problem. Kindly help.

    Hi krishnaECM45,

    Please perform the following steps to stop this pop-up:

    Open Internet Explorer > tools > Internet Options > Security tab > select Internet > custom level > security settings > download file > disable > OK

  • How to create a button that opens the attachment (file power point attached to the pdf document)

    Hello world!

    The question is in the title.

    How to create a button in Acrobat Pro to open a file attached to PDF?

    I have moved your question to one of the forums of Acrobat, first.

    If the target file is not a PDF file you need to use a script to do it. The structure of the script would be something like this:

    this.exportDataObject ({cName: "Name of the attachment.ppt file", nLaunch: 2});

  • I'm having a problem at the opening of the pdf document.  I get the error message: 'Adobe Reader has stopped working ".

    I'm having a problem at the opening of the pdf document.  I get the error message: "Adobe Reader has stopped working" then I get Windows to search online for a solution, but then my document is closed. I tried to uninstall and reinstall Adobe Reader XI, restarted my computer, but it did not help.  I get the same message. What should do?

    Can you open Reader by itself?  If so, check that disable the Protected Mode improves the situation [Edit |] Preferences | (Improved) security].

  • How to make the pdf document and upload to my site

    How to transform into pdf document and download on my site, in addition to people downloading...

    He talked not of his Web site other than the fact that he wanted to put the PDF on its website.

    First you must place a copy of the PDF file in the folder the same name as your web site home directory.

    Then you your design program web to open the index.html file (I use DreamWeaver) once you have linked, in your home directory of Web site, your use of Pdf file of a program like anarchy to download the PDF file and the index has changed.

    There are other such applications a Rapidweaver and Sandvox if your technically challenged using them you would simply be the browser to the Pdf document to create the design of Web pages

  • View the PDF document in a Flex Windows application

    Hello

    I am creating an application of windows from flex using action script and mxml script. I need help to display the PDF document in the windows application. I tried google search it gives me some open source projects with IFrames.But, they can be used only for the browser (web) applications. So, someone please suggest me how I could accomplish this task with winows application.

    Thank you

    adi2010

    http://RIA.dzone.com/news/render-PDF-Adobe-Air-PDF

  • Group (combined) in the PDF Document pages

    Several years ago, I received a PDF doc that included... How should I say, delivered / grouped pages in the main document... document within a document.  At that time, I needed to extract the grouped pages (I forgot how I did it). Now, however, I would like to consolidate (combine / bundle) pages in a PDF document to a document "Sub" - is it possible?  Thanks in advance!

    Hello jsborg,

    It seems you either worked on PDF Portfolios or PDF files have been attached to the document.

    If you work with PDF portfolio you will see an option to extract the PDF document.

    In case you the document have other documents as attachments, you can see the document on the right side of the screen here, you should look for an icon that looks like a logo of an attachment, if you are not able to see, it can be disabled. To show you can right click on the bar on the right where you are able to see "Thumbnail" then select the PIN to paper in the form of an attachment (icon). It will appear.

    Let us know if you are still facing problems.

    Concerning

  • How to change or Remove saved the PDF document?

    Never done this before.  Not sure about my "community" or if I'm IN a "discussion" by typing my origin in my research question, therefore including here in this box.

    How to change or Remove saved the PDF document?

    Hi marillym061575,

    For help, please check out the video in this link: https://acrobatusers.com/tutorials/making-changes-to-a-document-template-in-e-sign-service s

    Check if that helps.

    Kind regards

    Meenakshi

  • What is the password for the pdf document?

    • I'm hungry what is the pdf document password where you have a passwor

    Hey asifa79661882,

    Please visit the link mentioned to learn more about how to add security to a PDF file with password below:

    Acrobat help. Securing PDF files with passwords

    Kind regards

    Ana Maria

  • How to change the page numbers after adding &amp; save page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers

    How to change the page numbers after you add and save the page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers.

    These page numbers were initially created using Acrobat PDF header and footer.

    I have a 750 page pdf document that I've created.

    I have to sometimes the pages up and down after that I added the page numbers in the document by using the Header_Footer tool on the right column of tools.

    But after you save the document, if I get a few pages around, I can't go back and change the page numbers.

    I thought that the page numbers, as indicated in the header and footer must have changed automatically, but I guess that once its print, that it cannot be edited - is that, as what is?

    So I guess we should always first get a copy without numbers of pages before confirming the documents and the creation of an index.

    A way to remove these page numbers already there and add new page numbers.

    Its a lot of work to align 750 court documents and then realize that you must move some and then realize the page numbers cannot be changed and thus begin to do this all over again to compile which can take about 10 hours.

    My question is quite simple, but I hope that overall, I got my point. Sorry if I made it is too complex.

    If no simple way, want to know if anyone has another different tool or a few recommendations to better highlight what I'm doing wrong.

    Thank you for your review and response.

    You should be able to update with tools - Pages - header & foot-

    Update... It not work for you?

    If this isn't the case, then try to remove from this menu and then re - adding them.

    Tuesday, June 23, 2015 23:55, Fortune Mile [email protected]>

  • Mozilla Firefox Acrobat Reader Plugin ignores the security setting of the PDF document.

    Mozilla Firefox Acrobat Reader Plugin ignores the security setting of the PDF document.

    When, for example, the document is protected against printing (confirmed in Acrobat Reader DC 2015.007 20033) it is possible to print from Mozilla Firefox.

    Environment:

    Windows 7, Firefox 38.0, plugin for Adobe Acrobat Reader 15.7.20033.2203

    Are you sure that you are using the Adobe Reader plugin and not Firefox "own PDF Viewer?  See http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • cannot change the pdf document

    purchase the program and cannot change the pdf document

    Hi Michael,

    In order to remove the pages in a PDF using Acrobat Pro DC, you must choose "Arrange Pages" in the right pane, select the pages and choose the trash icon in the top bar (or use the delete key).

    Thank you

    -atul

  • Open the pdf document

    Hello

    I have a little problem with an application of thinapped. With the app, there is a pdf document. When I try to open this PDF for the virtualized application starts the installation of the Acrobat Reader software and then show me an error saying I could not find the given document.

    I have read the manual, but haven't found anything useful. Someone has a tip for me?

    Greetz

    Sundance

    Hey,.

    To use pdf files in another application, you need to use the function "APPLINK" for ThinApp.

    Here are the steps to create an Application virtualized with Adobe Reader as a plugin using the function "APPLINK":

    PRE REQUISTIS:

    Virtualize applications using ThinApp on a clean machine.

    Virtualize Adobe Reader ThinApp NICU on a clean machine.

    Now take the package Application and goto the Bin folder.

    Create a folder called "plugins".

    Place the contents of the Bin folder of the Adobe package in the plugins folder.

    PACKAGE. INI CHANGES:

    Open the file package.ini in the Application package.

    Goto the section "use general parameters.

    Here, you will find two instructions:

    OptionalApplinks = plugins\ * .exe or .dat (use the file that is the primary data container).

    RequiredAppLinks = plugins\ * .exe or .dat (use the file that is the primary data container).

    NOTE: You can choose one or the other.

    Option will allow the Application to work even without Adobe Reader as plugins.

    Required only allows the Application of the function if Adobe reader is present in the plugins folder.

    The desired type of Applink comment and add the name of the file .exe or .dat in the end.

    For example: OptionalAppLinks = plugins\Adobe Reader 9.3.dat

    Save the changes to the file package.ini.

    RECONSTRUCTION:

    Copy the Application package on a clean machine on the C drive.

    Install Thinapp on this machine.

    Goto the Application package, and then click "BUILD. BAT. "

    This will rebuild the package with Adobe as plugin.

    TEST:

    Copy the package on the computer where you want to launch the application.

    PDf file opens without error thanks to the virtualized application.

    It should work. Please let me know if it does.

    Thank you

    Maddy

    (Ask: Please give the points if answered and mark responded to others to refer.)

  • How to open the pdf document in a different window

    Hello

    Greetings to everyone!

    I use Adobe Acrobat Reader DC (Version 2015.009.20069), I would like to open different PDF files in different windows in the same window as tabs, as shown in the image below

    I don't want to open the file in the tabs as shown above in Image, no matter which allow solution how to open different files in a different window?

    Thanking all in advance

    Concerning

    Umang

    Change the settings in the preferences:

Maybe you are looking for