DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Custom Paste option to include special formatting  (Read 3,965 times)

questorfla

  • Fighting Slime all the Time
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 570
Custom Paste option to include special formatting
« on: July 13, 2015, 04:00 PM »
I often need to cut and paste text to create lists such a a list of names or folders etc.  After each paste, I always have to hit "return" twice,  or I end up with a bunch of run together lines. 

Is there a way to "pre-load" the paste option with two carriage returns such that any time i use (Copy/Paste) or (Cut/Paste) it would result in the item being pasted PLUS two carriage returns?  This would make each pasted item <end> and then be separated by a blank before the next one.  If not, is there a 3rd party solution that offers customizable copy/cut/paste options other than the one built into windows?

It might be best to create a special option such as "paste+" where the "+" would be paste plus (in this case) two carriage returns rather than changing the Windows default but it is a shame there is not a way to set the defaults built in to Windows anyway.  I can think of many cases where having a custom preset preference for paste would be handy.  Such as changing fonts or other similar for the items "copied or cut" so they end up being "pasted" already pre-configured to the task at hand.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Custom Paste option to include special formatting
« Reply #1 on: July 13, 2015, 04:07 PM »
When you say special options and "paste+" are you talking about using a specific clipboard utility?

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Custom Paste option to include special formatting
« Reply #2 on: July 13, 2015, 06:25 PM »
Have you tried this script?

http://www.donationcoder.com/forum/index.php?topic=41173.msg384096#msg384096

Original address: https://www.donationcoder.com/forum/index.php?topic=41254.0