Sending active document to external GED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

RScherer
User
Posts: 1
Joined: Fri May 09, 2025 1:28 pm

Sending active document to external GED

Post by RScherer »

Hi,

I succeed to add my own button in a toolbar.
Now, I would like to send te active document, in BASE64, to my GED through an API. Is this possible to get the active document as a BASE64 encoded stream or bytearray from the buuton script ?

// add a toolbutton
app.addToolButton({
cName: "myToolButton",
cExec: "app.alert('Someone pressed me!')",
cTooltext: "Push Me!",
cLabel: "Push Me Now!",
cEnable: true,
nPos: 0
});

Thanks for your feedback.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10998
Joined: Wed Jan 03, 2018 6:52 pm

Re: Sending active document to external GED

Post by Daniel - PDF-XChange »

Hello, RScherer

I am afraid this is not possible, and after a quick chat, I have received confirmation from the Dev team leader that we have no intention of allowing such actions in the future as it is a potential major security issue.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com