Title

Message

Confirm

<< DiscussionsReply

Problem with scrubbing line breaks from text copied from PDF...

sannpeterson
7 discussion posts
Help please, this is driving me crazy! I can't figure out how to configure the action settings so that I can remove the line breaks but replace them with a space. Otherwise, I have to go back and individually edit the words that get mashed together where the line break used to be. Thank youuu
Jul 17, 2017  • #1
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I put together a Macro that should do what you need and attached it to this post. Here's what you need to do to get it working in ClipboardFusion:

  • Download the file attached to this post
  • Open the ClipboardFusion Settings window
  • On the "Macros" tab, click the "Import" button
  • Select the file you downloaded in the first step
  • In the window that pops up, you can review the code and assign the Macro a HotKey
  • Click OK to close the Macro Edit window, then OK again to save and apply your changes

I hope this works for you!
• Attachment: Replace Newline with Space.cfmacro [4,770 bytes]
Jul 19, 2017  • #2
Gökhan Tolun
5 discussion posts
Hi,
I downloaded this and added it into a trigger for Acrobat.
However, it does not work as intended.
Any suggestions?
Thanks,
GT
• Attachment [protected]: ClipboardFusion_Screenshot 2021-05-15 151913.png [37,399 bytes]
May 15, 2021  • #3
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Does it work if you use it on any other applications besides Adobe?

Thanks!
May 17, 2021  • #4
Gökhan Tolun
5 discussion posts
It shouldn't, since I added a requirement for detecting the acrobat DC application.
In case you are asking if I tried selecting another executable as a part of trigger detection, the answer is no, as I have no other apps I need this for.
I have also tried selecting the option for stopping the execution of the rest, but that also did not make a difference (i.e., still did not work).
May 22, 2021 (modified May 22, 2021)  • #5
Gökhan Tolun
5 discussion posts
I have now tried setting up a hot-key combination for this macro, instead of adding it as a trigger detected for Acrobat, and that works.
However, it'd be nice if this (replace the new line character [paragraph or line-break] with a space) may be added as a built-in feature that can be ticked on like the other ones in there, as I suspect this to be a commonly needed one.
Also: it is possible to get a version of the macro that may work as a part of a triggered action (upon detection of Acrobat)?
May 22, 2021 (modified May 22, 2021)  • #6
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Strange, do you get a notification that the trigger is firing when you have that script attached?

Thanks!
May 27, 2021  • #7
Was this helpful?    
<< DiscussionsReply