Add a Symbol to run Javascript

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

AndiModding
User
Posts: 2
Joined: Thu Mar 28, 2024 8:28 am

Add a Symbol to run Javascript

Post by AndiModding »

Hello,
I have a question on PDF-XChange using JavaScript.
I want to add a Symbol to the toolbar. As soon as I click on it it should run JavaScript. Is there a way to make this possible? It should be similar to the macros in outlook for example.
It's also an option if I could add this symbol to the file register.
Would be great if somebody could help me.
Andi
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Add a Symbol to run Javascript

Post by Tracker Supp-Stefan »

Hello AndiModding,

Welcome to our forums and thanks for your enquiry!
Indeed you can add custom JS as buttons in a custom toolbar. This KB article explains the process:
https://www.pdf-xchange.com/knowledgeba ... the-Editor

And if you take a look at the posts from Matthew here in this forum you can find some pretty nice examples of what such JS can do:
search.php?author_id=94963&sr=posts

Kind regards,
Stefan
AndiModding
User
Posts: 2
Joined: Thu Mar 28, 2024 8:28 am

Re: Add a Symbol to run Javascript

Post by AndiModding »

Thank you very much
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Add a Symbol to run Javascript

Post by Tracker Supp-Stefan »

:)