Title

Message

Confirm

<< DiscussionsReply

How to Split One history items to Multiple history Items by line breaks

OwO
5 discussion posts
There is a macro called "Paste All History Items with Line Breaks".
https://www.clipboardfusion.com/Macros/View/?ID=a8812146-c7be-4b79-b4ec-d7b07cb8a28b
And Conversely, the maciro that split One history items to Multiple history Items by line breaks?
Jan 8, 2018 (modified Jan 8, 2018)  • #1
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I put together a Macro that should work for you. Here's how to get it into 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

This Macro might work better if you right click the history item you want to split up, then select this macro from the "Run Macro" list.

I hope this works for you!
Jan 9, 2018 (modified Jan 9, 2018)  • #2
OwO
5 discussion posts
Thanks!
it works.
It's very useful .
Jan 10, 2018  • #3
dannician
6 discussion posts
This macro works but it skips duplicate tex. For examole if i sent:
1
1
1
2
3
3
3
as a single group seprated by linebreaks
This macro would add it to the hisotry as individual line items:
1
2
3
Inwould like to have thr macro keep the duplicates.
Aug 24, 2021  • #4
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

This is happening because ClipboardFusion doesn't allow duplicate entries. We do have an option to allow duplicate items as a feature request though, so I've added your vote to it. We'll be sure to let you know if we have any news on it in the future.

Thanks!
Aug 26, 2021  • #5
dannician
6 discussion posts
No duplicate entires? Thats a deal breaker for what i am trying to accomplish
Aug 26, 2021  • #6
dannician
6 discussion posts
I realized that I can get close to what I am trying to do by serializing the entries. Adding a count number at the end of each one so they are unique. At least until Clipboard Fusion will process duplicate entries.
The text spilt macro is working fine, accept it places the list in reverse order of what I need to then past them back?
Maybe it would help if I describe what I am trying to do from start to finish.
-Using a program to create a list of text entries of various lengths. A number is added to each entry so that it is unique.
-Copy this list to keyboard as one block of text, each text entry on a new line.
-Macro splits the group entry into individual entries in the same descending order that they were in the original copy group.
-Replacement text renames the entries leaving the number in place. Still no duplicates.
-I open the program in Windows where I want to paste the values, click on the field where the first value belongs and activate a macro.
-The macro does the following:
-pastes the first value on the list into the first field
-activates the backspace key a few times to erase the number at the end of the text entry,
- uses a keystroke combo that the program recognizes to move the cursor to the next field
Repeat the process.
The number of text values will match the number of fields where there will be pasted so the last value pasted ends up in the last field available.
I hope that is clear? THX!!
25 days ago (modified 25 days ago)  • #7
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

What keystroke do you need to be sent to move to the next field?

Thanks!
18 days ago  • #8
dannician
6 discussion posts
Alt + Down
18 days ago  • #9
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

The following script will take the text you copied and paste it line-by-line with an Alt+Down key stroke in between each one.

You can import it by opening the ClipboardFusion Settings > Macros > Import.

Hope that helps!
16 days ago  • #10
Was this helpful?    
<< DiscussionsReply