Forum for the PDF-XChange Editor - Free and Licensed Versions
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
A bit limited, but provides some ability to cycle through Upper, Lower, and Sentence Case. Keypress: [Shift]+[F3] can be reassigned to this function. A solid "Thank You" to @Matthew;
Case style is applied uniformly across all selected text annotations - @KennyLemens
Limitations:
Will treat each annotation independently- v1.11
Cycles through cases, doesn't apply a Case Type across the Board- v1.11
Supports RichText, but "Camel Case/Sentence Case" does not work per sentence, but rather by Formatted Groups...- v1.11
Does not work on selected text within an annotation or on the base level, only those selected annotations/text objects.
Will not cycle through 'Sentence Case' if first selected annotation contains just (1) word.
Comments:
Mathew wrote: ↑Wed Jan 29, 2025 7:54 pm
... I like this tool - I took the liberty of making a new version - plus maybe you could add a post to the above topic with links to your scripts? ...
May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
You do not have the required permissions to view the files attached to this post.
Last edited by ⚜ Kenny Lemens, P.E. ᵂᴵ on Thu Jan 30, 2025 3:38 am, edited 2 times in total.
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
Thank you very much for this, I am happy to see another JS fluent writer on our forums!
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
to rename the sticky topic "PDF-XCE JavaScript Index" or something similar. Would be great to have one place that linked to the work everyone contributes.
I'm not sure if the OP of a thread can directly change the thread name and default reply header, but Ive gone ahead and made the suggested change to that topic. Do feel free to post links to any "new script" topics in there as well.
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
Daniel - PDF-XChange wrote: ↑Wed Jan 29, 2025 6:43 pm
I'm not sure if the OP of a thread can directly change the thread name and default reply header, but Ive gone ahead and made the suggested change to that topic. Do feel free to post links to any "new script" topics in there as well.
@Kenny Lemens:
I like this tool - I took the liberty of making a new version - plus maybe you could add a post to the above topic with links to your scripts?
Dealing with rich text is a bit tricky. I fiddled your script to try to handle rich text by changing the case on a plain text string, then keeping track of the character position as I replace into each span element. Seems to work for me.
I added in a Title Case into the rotation
I added compression to the icon stream text to reduce the amount of text in the script.
I don't think this tool needs to be a trusted function
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
Wow we have another coding-expert here, I edited in a link to this thread in the 1st post
Great work!
I just noticed Mathew's (2nd reply) post in the thread below is a good categorized overview of the scripts and links, which he seems to update frequently
It used to be Mathew's javascripts, but now it is "PDF-XCE JavaScript Index" (tracker support has apparently renamed it, a fitting title, I guess) (you can see it in the "hilit=mathew"-part
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues