[javascript] add ability for a script to change doc.selectedAnnots

Please post any ideas or requests for new features here for the End User Version of PDF-XChange (printer Drivers)

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Post Reply
Mathew
User
Posts: 564
Joined: Thu Jun 19, 2014 7:30 pm

[javascript] add ability for a script to change doc.selectedAnnots

Post by Mathew »

When built-in tools add annotations, they typically remain selected afterwards. However, with Javascript, it's currently not possible to change which annotation are selected. I don't know what's going on in the background, so whether allowing write to doc.selectedAnnots or adding .select(True/False) or some such method to annotations is more feasible.

Just a wish :wink:
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10910
Joined: Wed Jan 03, 2018 6:52 pm

Re: [javascript] add ability for a script to change doc.selectedAnnots

Post by Daniel - PDF-XChange »

Hello, Mathew

Thank you for the suggestion, I have brought this along to the Dev team and will let you know if we make a ticket for this item.

RT#6970: FR: Allow JS change selected annots and modify Z-order

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
User avatar
⚜ Kenny Lemens, P.E. ᵂᴵ
User
Posts: 34
Joined: Thu Jan 23, 2025 4:09 pm

Re: [javascript] add ability for a script to change doc.selectedAnnots

Post by ⚜ Kenny Lemens, P.E. ᵂᴵ »

Greetings,

Has there been any progress on RT#6970? This is a feature I would also enjoy.

May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
User Plugins: https://is.gd/A9HMPG || PDF-XChange Icons: https://is.gd/Z4GeG8
[Migration] Revu Bluebeam 17 to PDF-XChange Editor: https://is.gd/8Xs1OF
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10910
Joined: Wed Jan 03, 2018 6:52 pm

Re: [javascript] add ability for a script to change doc.selectedAnnots

Post by Daniel - PDF-XChange »

Hello, ⚜ Kenny Lemens, P.E. ᵂᴵ

From what I can see here the ticket is still in progress, but it is not something that has an ETA I can offer as of yet.

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
Post Reply