Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

Frank99's profile on WallpaperFusion.com
I'm using the downloaded macro "Perform word count on the copied text" but I usually forget to copy the text first. Can you provide a macro for "Perform word count on currently highlighted text" to save me from my memory problems? Thanks!
Sep 18, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you add this on line 12, it will copy the text you've highlighted:

text = BFS.Clipboard.Copy();


Hope that helps!
Sep 18, 2020 (modified Sep 18, 2020)  • #2
Frank99's profile on WallpaperFusion.com
Didn't work for me. I've attached the macro. Thanks!
• Attachment [protected]: Perform a Word Count on the Highlighted Text.cfmacro [43,290 bytes]
Sep 19, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry, my bad! It should be this:

text = BFS.Clipboard.CopyText();
Sep 22, 2020  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)