Page 1 of 1

[javascript] add script to right click context menu

Posted: Mon Jun 09, 2025 4:00 pm
by Mathew
This is a bit of a long shot because it's probably a bit involved; but I think it would be a very useful addition: Similarly to how scripts can add menu items to regular menus and ribbons, it would be useful to be able to add a script to the right click context menu.

So, for example, if a script can mirror a polyline or convert a polyline into a curve, I'd be able to add the script to the context menu for those annotation types.
image.png

Re: [javascript] add script to right click context menu

Posted: Mon Jun 09, 2025 10:41 pm
by Daniel - PDF-XChange
Hello, Mathew

it would be handy, but I do also think this one is a bit of a longshot. Who knows, perhaps the Devs will surprise us though. I have passed it along for consideration.

This one is not a promise for implementation, but an assignment for the dev team to investigate if we can safely make this possible.
RT#7526: FR: JS button to r-click context menu
If that investigation goes well and they find a method, than the ticket will be upgraded to in implementation possibility. For now, it is still possible that this could be rejected at any time.

Kind regards,