Need automated import/export help from comments in XFDF

Hello!

I created 2 buttons on my toolbar. One to send your comments and one for the receipt of comments! If I click on the button send, a window opens and ask the directory where I want to save the xfdf file.

How can I realize that I can save the auto xfdf file in a folder that is specified in the javascript file? The same for import!

In the web I found:

cExec: "this.importAnXFDF ({bAnnotations: true, cPath: c/PDFTest/Demo.xfdf}); ', and

cExec: "this.exportAsXFDF ({bAnnotations: true, cPath: c/PDFTest/Demo.xfdf});"

But if click the button... nothing happens. How can I implement this?

This is the source code of the config.js file created

strtest var = "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" + / / 0
"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" + / / 1
"FFE4DBD4FF8F9CC8FFD2D3E0FFDBDCD9FFC7E8F9FFC7E8F9FF999FC6FFEEEDEDFFFEFFFFFFB6C8E 7FFB2D0E3FFF8F8F8FFFFFFFFFFC2A47BFFD2BC9EFFD0B898FFEEEDED" + / / 2
"FFB0AFCDFFE7F2FBFFD1D1D0FFE4E4E4FFC3DAE7FFC7E8F9FF7674A5FFB3C9DCFFAAC4E8FF5D8FC 8FFB9D5E6FFD3C9D8FFFEFEFEFFC6AA84FFECE6DFFFFEFDFAFFD2C9C8" + / / 3
"FFC3DAE7FFB2BFCBFFA4B3C9FF9CB8D9FF7199B3FFA4B3C9FF8A8BBBFF9993A9FFAC9DA7FFA5989 2FF769BC4FFC6C2B8FFEEEEEFFFC2A47BFFF5F1ECFFAA8657FFD8D6D6" + / / 4
"FFDAD6E1FFDAD6E1FFCACFD3FF88899AFFB6AAB3FFD8D8D8FFE1E1E1FFE9E9E9FFEEEEEFFFE7E4E 5FF31312DFFDCDCDDFFFCFCFCFFF3F3F3FFCDBCA7FFC6C2B8FFE9E9E9" + / / 5
"FFEEE9E4FFE4E3EBFFE9E9E9FFE1E1E1FF9C966AFFDFDFDFFFD8D6D6FF8E3F43FF99987CFFCFBD6 FFFB7A289FFE9E9E9FFFFFFFFFFFFFFFFFFF8F8F8FFC6C2B8FFE6E6E6" + / / 6
"FFF9F9F9FFFDFDFDFFFEFEFEFFFFFFFFFFF9F9F9FFB0B0A5FFC5AE62FFE8D98FFF512C25FF845A4 3FFD2CC9FFFF3EAB8FFA79D79FF8C8674FFEBE5B6FFD6D7D7FFFBFBFB" + / / 7
"FFFBFBFBFFFEFEFEFFFFFFFFFFFFFFFFFFFDFDFDFFE4E4E4FF9F8940FFBDB689FFCFBD6FFFFBE89 1FFFDF4C0FFCFC384FFF3EAB8FFEBE5B6FFEDD26EFFDDDDDDFFFEFEFE" + / / 8
"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0C1C3FF616D6BFF6E7B79FF5D676 8FF616665FFDADBDBFFD8D6D6FFD9D9D9FFE6E6E6FFFBFBFBFFFFFFFF" + / / 9
"FFFDFDFDFFF8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFF6F6F6FF616D6BFF6E7B79FF5B6562FF525A5 8FF616D6BFF6B7574FFFBFBFBFFFDFDFDFFFFFFFFFFFFFFFFFFFFFFFF" + / / 10
"FFF5F5F5FF686C6CFF6E7B79FF6D7877FF6E7B79FF646F6EFF616D6BFF464B47FF969999FF383E3 CFF616D6BFF6B7574FF48504DFFFAFAFAFFFFFFFFFFFFFFFFFFFFFFFF" + / / 11
"FFFFFFFFFFFCFCFCFFECECECFFD5D6D6FFBABCBEFFC0C1C3FFDCDCDDFFEEEEEFFFFAFAFAFFF8F8F 8FFE9E9E9FF4D5653FF646F6EFF464B47FFF9F9F9FFFFFFFFFFFFFFFF" + / / 12
"FFFFFFFFF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= "";
Console.println ("request for" + nBytes);
While (pos < nBytes) {}
t = t + strtest;
POS += strtest.length;
}
return t;
},
Width: 17,
size: 20
}

Create a toolbutton using the icon that I have loaded above
app.addToolButton
({
cName: "get comments."
oIcon: iconStreamObj,.
cExec: "this.importAnXFDF ({bAnnotations: true});"

cTooltext: "press the button for the receipt of comments!"
NPO: 0
});

var pos = 0;

var iconStreamObj = {}
read: function readMyIcon (nBytes) {}
var t = "";
Console.println ("request for" + nBytes);
While (pos < nBytes) {}
t = t + strtest;
POS += strtest.length;
}
return t;
},
Width: 17,
size: 20
}

Create a toolbutton using the icon that I have loaded above
app.addToolButton
({
cName: "send feedback."
oIcon: iconStreamObj,.
cExec: "this.exportAsXFDF ({bAnnotations: true});"
cTooltext: "press the button to send comments!"
NPO: 0
});

Help, please!  Thank you

Doc is the type of object, so you would not use Doc.exportAsXFDF.

In most cases you can use 'this', but be careful because 'this' will not always refer to the active document, he made reference to some object you are currently working within the parameters of.

Security restrictions are very clear, but I'll summarize just to be sure.  You CAN specify the cPath parameter under the following conditions:

  1. Batch processing
  2. Runs the code manually from the console
  3. The execution of exportAsXFDF via an OLE calls via the JSObject from an external application written in C / C + c++ / C#/VB.NET/etc.

This is the ONLY time that you can specify the cPath parameter in the call to exportAsXFDF.  If you try to specify it in another instance, the call will fail and nothing will be exported.  This means that you CAN NOT specify the cPath parameter to script at the level of the document, the script menu item call folder level, etc.

Tags: Acrobat

Similar Questions

  • Pdf Import/Export help - about to return the program :(

    I bought the program because I was told I can import a pdf file and export it as a pdf/x-2002. I have read through discussions and troubleshooting tutorials and I have not seen anything on how to do it. Help, please! I'm about to go back to the program.

    You can place a PDF file in InDesign, InDesign can export PDF / X 3-2002, and if the conversion of the format (without modification) is your only goal, you can Acrobat Pro instead. If you do not need to edit the files, you should get native files; PDF is designed as a final product, not a working file.

  • Import/Export Help

    I'm trying to create an instance of database test on a server which is currently holds our instance of database pending and am having trouble with the import process. I created the test database instance and all works well on this end. My SID test database is TEST and production PROD and Eve in STND. When I try to take an export of my production server and import it into my test database, which also owns the standby database it seems as if it is trying to import the database pending files. I say this, is that if you look at the import window, it is show access to the files in the DBFPROD folder and not the folder DBFTEST. What I am doing wrong and how I can do this properly? I really am a newbie and would like any help. Currently I don't have any other software backup in place but if it would be easier to please do not hesitate to tell me and point me in the right direction. I use Oracle 10 g on a windows Server 2003 OS. I checked my ORACLE_SID environment variables and point to TEST. When I connect to the database for import I am specifying @TEST in my connection string. Thank you for your help and your advice.

    ORACLE_HOME = TEST SET

    The default behavior is for import (imp) to CREATE & use tablespaces even as it stood during the export (exp).
    Given that you have exported PROD, then the file paths include the SID (PROD).

    If you do not want this to happen in TEST, then you must pre-create (manually CREATE TABLESPACE) in the location of the new/TEST.

    It's your parade to drive you consider appropriate.

  • I have a new computer and you need to import my emails from windows mail on a computer to the new. How can I do this?

    The old model using vista is the new windows 7. There seems to be know mail windows on windows 7, I suppose I must install on two here? but my main question is in the title.

    Kind regards

    Steve

    How to Import Messages from Windows Mail in Windows Live Mail
    http://www.SevenForums.com/tutorials/3798-Windows-Live-Mail-import-Windows-mail-messages.html

    Windows 7 - Windows Live Mail - Vista import Contacts and Contact groups
    http://www.SevenForums.com/tutorials/3818-Windows-Live-Mail-import-Vista-contacts-contact-groups.html

    A follow-up with some doubts WLMail here.

    Windows Live Mail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=15

  • Need to import bookmarks of json

    Need to import my favorites from a json file different. When I try to import, he said to overwright my current favorites. Don't want to do this, just add it there. Is this possible?

    Restore a JSON backup can only replace your current bookmarks. To add to your current set of bookmarks, you must import an HTML backup.

    1. start Firefox in a new profile.

    2. restore your JSON backup in this profile.

    3. based on this profile, export your bookmarks as HTML.

    4. go back to your regular profile and import the bookmarks HTML.

  • I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)?  Fact is need to update

    I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. When it is connected to the MAC, I get the message that itunes must be upgraded. How to synchronize or import/export files(images/music)?  Fact is need to update itunes?

    Hi sonalnj,

    I understand that you cannot synchronize your iPhone as iTunes is requested it must be updated. I can help you with that.

    According to the technical specifications for a 6 s iPhone, you need a Mac running OS X v10.8.5 or later version with iTunes 12.3 or later. Because you are on OS X 10.6.8 your version of iTunes is up to date with this OS.

    iPhone 6 s Tech Specs
    http://www.Apple.com/iPhone-6s/specs/

    Now to fix that, you need to update your Mac OS X 10.8.5 Mountain Lion or OS X 10.11 El Capitan. If you want to go to the Mountain Lion, you can do it with the first link below. The cost will be $19.99 and a code will be delivered to you if you can download it via the Mac App Store. Once you have upgraded, be sure to make all software updates to go with him to get the latest version of iTunes.

    OS X Lion mountain
    http://www.Apple.com/shop/product/D6377Z/A/OS-x-mountain-lion

    Now the other option is to move to OS X 10.11 El Capitan, and is a free update that you can do right in the Mac App Store, if you meet the system requirements. Take a look at the following article for more details on how to do it.

    Update of OS X El Capitan
    https://support.Apple.com/en-us/HT201475

    Nice day!

  • Do I need to import in order to export my final product as optimized media as media optimized?

    Hello FCPX community!

    Please let me know if my reasoning is correct here:

    When I upload images that the original and proxy, which means that I can see the project in one of these two codec I'm editing. When I export the final result as Apple Pro Res 422 or more, the exported project will be visible as media optimized.

    I do not need to import as media optimized in order to export as optimized media. Import as an optimized media only allows me to see the project as optimized media that I am editing.

    Am I wrong?

    I uploaded a bunch of images in my project as original and proxy, and the project is now nearly complete. The problem here is that if I need to transcode all media optimized, there are a lot of images and will take much time because I recorded several hours in 4 k footage. I have an old Mac here at work...

    Thank you for your time.

    I do not need to import as media optimized in order to export as optimized media.

    That is right. If you export a master file in ProRes, you export what has basically optimized media.

  • I started my system, unfortunately I forgot to backup all bookmarks on firefox, how could I get these bookmarks in firefox need help from your server

    Hi, friends
    I started my system, unfortunately I forgot to backup all bookmarks on Firefox, now how do I get these bookmarks in Firefox need help from your server

    Start or restart to activate something, or restart.

    Did you format your hard drive or re-install Windows?

    If you did a reinstall of Windows, look for a folder.
    It can be called old windows. Check the instructions that you were given.

  • I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    I have the macbook pro (OS 10.6.8) and the iphone 6 s. The latest version of iTunes is 11.4. How to synchronize or import/export files(images/music)?  Fact is need to update itunes? Also you can sync ipod touch?

    iOS9 on a mobile device requires iTunes 12.3 or higher, which in turn requires a computer running OSX 10.8.5 or higher.  Update of the system only checks the updates for the current version of the system you run, but that itself can be updated.  It may or may not be possible to upgrade your computer to the system requirements. Find your computer on the web site of http://www.everymac.com model and near the bottom of the specification of the system section, he will tell what versions of the operating system, it is able to run. If you can not run a newer system, you will not be able to sync this phone to your current computer. If she can run 10.8.5 or higher, you can either buy a download for Apple OSX 10.8 Mountain Lion code online, or you can try to install the free El Capitan OSX 10.11.  El Capitan can run slower on older machines and require the additional purchase of RAM.  Making a big jump in versions of system is also more likely to affect the old software.

    At el capitan Snow Leopard, it will make my macbook is slow?  - https://discussions.apple.com/thread/7412959

    Mountain Lion 10.8 purchase link United States of America - http://www.apple.com/shop/product/D6377Z/A/os-x-mountain-lion

    Mountain Lion 10.8 purchase link U.K. - http://www.apple.com/uk/shop/product/D6377ZM/A/os-x-mountain-lion

    Course OSX Upgrade General information, including configuration required - http://www.apple.com/osx/how-to-upgrade/

    If you have any generation of PPC software which works under OSX 10.6 it is not supported in later versions of the system.

  • Hello, a graphic designer created my logo. I need to change the color from black to white and then make it bigger so I can add it to a T-shirt. I looked online and can't find a way to do it. Please help :)

    Hello, a graphic designer created my logo. I need to change the color from black to white and then make it bigger so I can add it to a T-shirt. I looked online and can't find a way to do it. Help, please

    Guess that's your logo. His place of 1000px

    Select each layer, and then type cmd - I or ctrl-I on the keyboard and that will reverse the color of the objects on the layer. Black is the

    opposite of white

    And then resizing the image size under Select image menu and place values expanded in the dialog box

    as below.

    That's all. It may be useful

    Terri

  • I need to know if there is a way to EXPORT information from OLD PDF forms in a file C.S.V.

    Hello

    I need to know if there is a way to export DATA from PDF forms, we have done over the past 2 years into a CSV file so I can add to my customer database? I hope that there is a simple way to do it. Please let me know if there are.

    Hi TCCTech,

    There are two or three option as *.fdf, *.xml. That later, you can convert to CSV using third-party applications.

    Or you can merge with the existing worksheet.

    Kind regards

    Ajlan Huda.

  • Do I have reason to think Import/Export tools I've previously used to move from one computer to another are no longer available?

    When I moved to Win7, I used the add-on Import/export to TB, but I can't find it now. It just seems to be some weird songs, some in German. Whhat did?

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

    http://www.Ramsden.org.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • HFM export and import of security from one environment to another

    Hi all

    I had an obligation to migrate the HFM application (V11.1.2) from one environment to another environment.

    I've migrated the application via the HFMCopyApplication.exe utility.

    could you please guide me how to export security from one environment to the other so that I can reproduce the security too

    Thank you

    VT

    Hi 2687075,

    If your environment is the same or similar version and the application groups are named the same, you can use LCMS as suggested by Amarnath.  You'll want to come the native Directory artifact that contains native users, Aboriginal groups (with their AD/native users) and roles.  Be careful when you do this, if you use accounts/passwords different in each environment native user as the new will overwrite the old.

    Thank you

    Erich

  • BlackBerry Z10 IMPORT/EXPORT of CONTACTS OF BBB FILES to VCF FILES OR TEXT

    I got a blackberry Z10 (unlocked version) which was defective and he has been replaced by an other Z10 (also unlocked) blackberry. Because the OS versions are different, I can't restore my contacts from the old to the new. BlackBerry has said that this is due to the difference in OS versions. I downloaded the bb world app that import/export of contacts, but can import text or vcf files and not the bbb files.  I downloaded Extractor backup blackberry but was disappointed to see that BB 10 backups are not supported yet. Please I need help with my old transfer contacts from my old bb to my new bb z10 z10. I use a computer hp laptop 8 windows.

    Thank you

    So I guess you never backed up your phone using BlackBerry Protect, or you did.

    If you did, you can install your contacts from there.

    If you do not, think to do for next time.

    Read all of this page, there is not much to read: http://worldwide.blackberry.com/ap/protect/

    If you have never enabled BB Protect you.  Go to: settings, BlackBerry Protect, marketing and you must also turn on location services.

  • Problem importing email files from Outlook Express to Windows Live Mail. Not all the imported outlook express folders are visible

    I followed your instructions and now have "storage folders" visible. However that a single user account recorded message records showing if you keep double clicking and scrolling down. There are 3 other user accounts whose records are not visible. I tried as well by importing and using Windows Easy Transfer for all alphanumeric codes in Outlook Express. I signed into Live Mail using the other our of the user, but this does not solve the problem... Please tell us how to transfer files from my old computer Windows XP to the new W7 mail.

    Transfer of data from Outlook Express and Windows Live Mail:
     

    For Messages:
     
    Copy the * ENTIRE * OE message store folder to a flash drive. (Folders.dbx must be included). Place it on the desktop or another location on the computer using WLMail.
     
    V-2009: open WLMail and: file | Import | Messages | Microsoft Outlook Express 6, and the point where it was saved.
     
    V-2011: Menu button. Import Messages. Microsoft Outlook Express 6, and the point where it was saved.
     

    Location of OE message store:
     
    In OE: Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     

    For addresses:
     
    Open the address book in OE and file | Export | Address book (wab) and save it to the desktop. Copy it to a flash drive. Place it on the desktop or another location on the computer using WLMail.
     
    For WLMail 2009: Open list of Contacts in WLMail, (go |) Contacts in the Menu bar) and the file | Import | Address book (wab) Windows and the point where you saved it.
     
    For WLMail 2011: Switch to the contacts window (click on the book icon to the address at the foot of the folders pane, or press Ctrl-3). Click on the import button, select address book (wab) Windows and point on where it was saved.
     
    Note: If you use a CD or a DVD instead of a flash drive, after placing on the new machine you must remove the read-only attribute in the properties before you import.
     

    For the account settings:
     
    In OE: Tools | Accounts, select the account and export it to the desktop. This will be an .iaf file. Copy it to the new computer and WLMail desktop: tools | Accounts and import the settings from the location you saved the.
     

    If you need more assistance, help for Windows Live Mail is located in this forum
    http://answers.Microsoft.com/en-us/windowslive/Forum/LIVEmail?tab=all 
     
     

Maybe you are looking for