topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday March 18, 2024, 9:59 pm
  • 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: IDEA: text-only clipboard without separate hotkey.  (Read 25190 times)

rin67630

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
IDEA: text-only clipboard without separate hotkey.
« on: February 13, 2006, 03:23 AM »
Hi,
i do use a nice app named "HovText" that can modify the clipboard to store text-only.
This app has an quick icon to toggle between regular clipboard (with formatting) and text-only clipboard.

I'd prefer following behaviour:
[CTRL-C] once -> regular clipboard.
[CTRL-C] twice (e.g. within the mouse double-click time) -> text-only clipboard.

That would really be a huge increase in comfort, isn't it?

Could anyone achieve that piece of magic?

Regards
Michel

wr975

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 369
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #1 on: February 13, 2006, 04:25 AM »
My favorite Clipboard Manager ArsClip (just a 860 KB exe) offers an extra hotkey for pasting as plain text.

Example configuration:
CTRL + V = Paste (normal)
WIN + V = Paste as plain text

Some other features:
  • Multiple permanent items groups
  • Picture, RichText, File Copy, Unicode, HTML support
  • Keypress emulation
  • Form Mode for pasting multiple fields
  • Highly configurable

Download:
http://www.joejoesoft.com/vcms/97/
« Last Edit: February 13, 2006, 04:31 AM by wr975 »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #2 on: February 14, 2006, 05:35 PM »
 :) Not pretending to have all the answers, but isn't it more natural to give this option to Paste instead of Copy (and Cut)?


PlainPaste
- Press Ctrl-V once to paste regularly, Ctrl-V twice within 1/3 of a second to paste as text.

Great idea, by the way!

Skrommel
« Last Edit: February 15, 2006, 01:48 AM by skrommel »

rin67630

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #3 on: February 21, 2006, 05:50 AM »
Hi
i do not mind if it is done on the ctrl-c or the ctrl-v side, maybe the second option would be more tricky to programm, isn't it!
in the first option, after the first click the data is in one defined place (the clipboard) with the second option the data would be in the receiving programm...

Regards
Michel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #4 on: February 23, 2006, 05:13 AM »
 :) Here's PlainCopy for you!

Skrommel

;PlainCopy.ahk
;Press Ctrl-C once to copy regularly, Ctrl-C twice fast to copy as text.
;Skrommel @2006

#SingleInstance,Force
Gosub,TRAYMENU
counter=0
Return

$^c::
counter+=1
SetTimer,TWICE,333
Return

TWICE:
SetTimer,TWICE,Off
Send,^c
If counter>1
  Clipboard=%Clipboard%
counter=0
Return

TRAYMENU:
Menu,Tray,DeleteAll
Menu,Tray,NoStandard
Menu,Tray,Add,PlainCopy,ABOUT
Menu,Tray,Add,
Menu,Tray,Add,&About,ABOUT
Menu,Tray,Add,E&xit,EXIT
Menu,Tray,Default,PlainCopy
Return

ABOUT:
about=PlainCopy
about=%about%`n
about=%about%`nPress Ctrl-C once to copy regularly, Ctrl-C twice fast to copy as text.
about=%about%`n
about=%about%`nSkrommel @2006    www.donationcoder.com/Software/Skrommel
MsgBox,0,PlainCopy,%about%
about=
Return

EXIT:
ExitApp

LuckMan212

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 137
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #5 on: February 27, 2006, 02:27 AM »
skrommel you genius!!   :D
is there nothing you cannot do with AHK!!?

Poolee

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 13
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #6 on: March 09, 2006, 12:38 PM »
Hey skrommel!

You know, I wanna be smart just like you!  :-*

I've been needing something like this for such a long time, and I didn't even know it!  And now my life has been changed soooo much for the better!!

Cheers!
Poolee

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #7 on: March 09, 2006, 04:54 PM »
 :-[ Oh, you guys...

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #8 on: March 20, 2006, 08:48 AM »
 :) Try PlainPaste v1.1.

I've just combined PlainPaste and PlainCopy into one app, and added PlainCut.



Skrommel

[edit: skrommel you specified the .exe name in the img link so it wasn't showing; i've changed it to gif - mouser]
« Last Edit: March 20, 2006, 03:54 PM by mouser »

ovehal

  • Participant
  • Joined in 2005
  • *
  • Posts: 16
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #9 on: May 23, 2006, 03:33 PM »
Tip for some other functions:
1. When you have copied a file/files, running the app will paste only the filename/filenames (with full path)
2. Make possible to run the app => Removes formatting, pastes the text and exits. => You could place a shortcut to the app on your desktop and assign it a hotkey: CTRL-ALT-V for instance.

The hints are stolen from a RemoveClipboardformatting app that I does not remember where I got:-(

Ove B-)

awefawe

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #10 on: July 07, 2007, 02:47 AM »
I have two slight modification ideas:
- change the three hotkeys to "tap Ctrl, then Ctrl+V [or C or X]" (with the current shortcut, the slight pause when normally pasting throws me off)
- (less important) a few toggle-able string processing commands (like collapse multiple newlines to just one, delete beginning and trailing newline(s), or maybe just user-customizable regexp capability)

milesmonk

  • Participant
  • Joined in 2008
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #11 on: October 01, 2008, 05:09 AM »
I second both of awefawe's suggestions.  The user-definable newline collapsing would helps tremendously when copy-pasting from an email.

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: IDEA: text-only clipboard without separate hotkey.
« Reply #12 on: October 01, 2008, 10:18 AM »
The user-definable newline collapsing would helps tremendously when copy-pasting from an email.

You might want to look at mouser's Clipboard Help and Spell because it can accept user-defined filters, so you can roll your own.  Or try Clippy, dedicated clipboard modifier, which offers these features:

  - Align center
  - Align fill
  - Align left
  - Align quote
  - Align right
  - Case capitalise
  - Case invert
  - Case lower
  - Case upper
  - Count of characters
  - Count of lines
  - Count of words
  - Convert all spaces to tabs
  - Convert leading spaces to tabs
  - Convert tabs to spaces
  - Quote
  - Remove blank lines
  - Remove duplicate lines
  - Remove line
  - Remove line breaks
  - Strip HTML
  - Trim leading spaces
  - Trim trailing spaces
  - Unquote
  - Remove duplicate blank lines
  - Convert DOS to Unix
  - Convert Unix to DOS
  - Delete to end-of-line from column
  - Delete to end-of-line from string
  - Sort lines
  - Search and replace
  - Quote
  - Left margin
  - Right margin
  - Tab width
  - Ascending
  - Search
  - Replace
  - Position
  - Number
  - Append