Title

Message

Confirm

Want to earn a free ClipboardFusion Pro license? We're looking for ClipboardFusion translators!
<< DiscussionsReply

Macro to copy highlighted lines to pinned items - 1 per line

Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Would it be possible to write macro to do this?
That is copy each line of some highlighted text in order to the pinned items up to a max of 10 items.
For example consider if the text below

PinnedItem11111
PinnedItem22222
PinnedItem33333
PinnedItem44444
PinnedItem55555

If the text above is highlighted and macro started then the first 5 pinned items would be assigned in order.
Remaining items (6-10) would ideally be set to blank.

Stupendous software!
Jul 3, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
To clarify, do you want it to clear all of your Local Pinned Items, or do you have more than 10 local pinned, and you only want the script to replace the top 10 items, and leave everything else alone?
Jul 3, 2019  • #2
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Hi Kieth
I assumed that there are only 10 pinned slots available.
I would like all pinned items cleared
Thank you
Jul 3, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, great! I've added this to the repository: "Copy Selected Text to Local Pinned Items (clears existing Pinned Items)"

Hope that helps!
Jul 4, 2019  • #4
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Kieth can I post a video to you directly?
It is not working for me I want to show you a video
Maybe I am doing something wrong...
Thanks
Jul 4, 2019  • #5
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Here is the video
Am I doing it right?
https://www.screencast.com/t/2ZaKJZBYAI3
https://www.screencast.com/t/NGEmozLMjp
This one I am striking Ctrl-F11 which I have associated with the macro:
https://www.screencast.com/t/P15Cg41VjBNo
Wonderful help really appreciate it...
Jul 4, 2019  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you copy the text with Ctrl + C first, then press the hotkey, does it work?
Jul 5, 2019  • #7
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Sorry for delay will check soon and reply..
Jul 8, 2019  • #8
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Sorry again for delay yes indeed if the text is copied to clipbaord first then it works.
One thing each entry accept for the last entry has a carriage retuurn added to the pinned clipboard item.
It would be great if that CR would be gotten rid of?
Feel very forward making these requests...and I dont assume they will just be done because I ask.
Huge productivity shift for me with this software...
Jul 9, 2019  • #9
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
If you disable the "Auto-paste on clipboard selection" on the Clipboard Manager tab and manually paste using Ctrl+V does this help with the carriage return issue?
Jul 11, 2019  • #10
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Unable to reproduce at the moment.
Not sure what you mean by hitting Ctrl-v.
I know what that does but not sure I guess the context of when I might do that.
https://www.screencast.com/t/uvGh7LGc
If I work out how to reproduce it will post a video for you....
Jul 11, 2019  • #11
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Gents
Is there any possibility this can be addressed?
This script is tantalisingly close to changing my life....
If I look in a hex editor I can see the CR/LF is present in the pasted output see below...

Jul 25, 2019  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry for the delay! I've made a change to the script that should fix this issue. Could you try re-downloading it from the repository?
Jul 26, 2019  • #13
Avatar from Gravatar.com
Shaun Louw
33 discussion posts
Keith - ClipboardFusion is a gift that keeps on giving.
I dont think it is hard to understand how this tool and this macro improves my productivity. Am continually changing contexts at work and now I can switch and use keystrokes with an efficiency I could only dream of a few years ago.
It has been massive.
Thank you. Wonderful!
Jul 28, 2019  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for the kind words, glad to hear it!
Jul 29, 2019  • #15
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply