Is it possible to import and export comments without user interaction.
I saw 36351 and 36503 commands can be executed, but can I give them parameters such as filelocations or something?
Export and Import Comments without user-interaction
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Export and Import Comments without user-interaction
You can do this by using next JS functions:
In future we will add such functionality to AX directly.
Code: Select all
exportAsXFDF(true, true, null, "/c/annots.xfdf", true);
importAnXFDF("/c/annots.xfdf");
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export and Import Comments without user-interaction
when I execute this command:
mReferencedViewer.RunJavaScript("this.exportAsXFDF(true,true,null,'/c/annots.xfdf', true");
i receive an error.
mReferencedViewer.RunJavaScript("this.exportAsXFDF(true,true,null,'/c/annots.xfdf', true");
i receive an error.
-
- User
- Posts: 93
- Joined: Mon Jul 07, 2008 8:41 am
Re: Export and Import Comments without user-interaction
I works, thanks
-
- Site Admin
- Posts: 5223
- Joined: Tue Jun 29, 2004 10:34 am
Re: Export and Import Comments without user-interaction
Thanks - pleased all is well.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com