topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday October 5, 2024, 12:30 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Copy-paste with the right text format  (Read 12917 times)

noutters

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 32
    • View Profile
    • Donate to Member
Copy-paste with the right text format
« on: May 10, 2007, 01:16 PM »
Ever had this annoying problem when copy-pasting text? The text you write sometimes looks in the end like a mix of fonts, font size, etc...
Something like : "Show recent posts (full text display). Show recent topics."
You have then to select everything and select your font, font size, etc...  >:(

I have coded an application that cleans your copied text of all format. The text you paste adopts the style of the text already written  :-*
An option permits to remove line-breaks and glues the words that are cut at the end of a line (very useful when copying from a PDF)

This app is coded with Autohotkey and available for download at http://www.autohotke...pboard2PlainText.exe
Right click the tray icon for options.

Ask if you want the original script.

Enjoy!  :Thmbsup:
« Last Edit: May 10, 2007, 01:18 PM by noutters »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #1 on: May 10, 2007, 08:43 PM »
nice  :up:

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #2 on: May 10, 2007, 09:10 PM »
good job, noutters.. :up: the script will come in handy, i'm sure.. btw, if you don't mind, can i have a look at the AHK script? this is because i have my own AHK script into which i shoehorn all kinds of script that i need instead of running them separately.. :)

noutters

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 32
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #3 on: May 10, 2007, 11:48 PM »
Here is a link to the AHK source:
http://www.autohotke...pboard2PlainText.ahk

nogojoe

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 169
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #4 on: May 26, 2007, 04:32 AM »

Just what I needed   many thanks.  :Thmbsup:
Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy

cnewtonne

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 117
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #5 on: May 26, 2007, 07:05 AM »
I was struggling with this issue for ages myself. In addition to what you described, I wanted a solution that allows you to do ...
- create a text styles (saved font color, size, indentation, ...etc)
- apply any of these styles on existing text.
- Save text snippets in RTF format including images and be able to retrieve them with hotkeys.

I could not do it using MacroExpress. I knew it was possible with AutHotKey, I just did not want to spend time learning the syntax. I eventually did it with Perfect Keboard, and it works just fine.

But I do urge you or even Mouser to develop such a tool that allows you to do all of the above.

Coffman

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #6 on: January 05, 2008, 03:33 PM »
I realize this post is a little outdated but I thought I would throw out one more possibility - PureText by Steve Miller.  This is a handy little utility that runs in the taskbar notification area and can be assigned to a specific key.  When used, it will copy the text as plain text.  It is extremely useful for developers who use IDEs that have special formatting. 

http://www.stevemiller.net/puretext/

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Copy-paste with the right text format
« Reply #7 on: January 05, 2008, 07:55 PM »
thanks for the tip but PureText has been mentioned several times before.. :)