topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 6:49 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: DONE: Scroll Thru Clipbard Contents When Pasting  (Read 40296 times)

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
DONE: Scroll Thru Clipbard Contents When Pasting
« on: June 21, 2005, 12:02 PM »
Hi guys.

I have had a program called Ditto installed on my PC 4 over a year at least.
http://sourceforge.n...t/projects/ditto-cp/
It keeps multiple items in the clipboard.  In theory it sounds very useful but I've found I never use it.

What I do think would work though is this.  A program that adds everything copied as a new item in the clipboard.  When I press Ctrl + V it pastes the most recent data BUT if I keep the Ctrl key depressed & press V again it instead pastes the second most recent item & so on & son...

So when U hold Ctrl you can tap the V key 2 cycle back through the items in your clipboard.  When U get 2 the end it can return 2 the most recent item.  And, if U go past the entry U were looking 4 keep the Ctrl key depressed but tap the B key (since it is next 2 the V key) 2 cycyle throught the clipboard in the opposite direction.

Can it B done?
« Last Edit: August 04, 2005, 12:11 PM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #1 on: June 21, 2005, 02:29 PM »
we are going to do a clipboard tool review soon..
and i look forward to hearing opinions about desired features and stuff.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #2 on: August 03, 2005, 08:27 PM »
 :) Here's an ugly script to operate the clipboards almost as described above.

ClipStep - Control multiple clipboards using only the keyboard's Ctrl-X-C-V



You'll find the downloads and more info at Skrommel Software.

Select some text, press Ctrl-C a couple of times to copy it to multiple new clipboards.
Now hold down Ctrl and press V repeatedly to step through the clipboards. C steps backwards.
When you've got the clipboard you want, release Ctrl to paste.
To delete a clipboard, hold down Ctrl, press V followed by X twice to delete, three times to
delete all, or once to cancel. Release Ctrl to accept.

Edit: Swapped the scroll direction, removed two bugs.

Edit: Updated to v1.1: Changed the ordering and naming of the clips, removed the empty Cancel clip, keeps clips visible while scrolling. Also the non text clips now work.

Edit: Updated to v1.2: Removed a few bugs, tweaked some functions.

Skrommel
« Last Edit: August 23, 2005, 03:45 PM by skrommel »

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #3 on: August 05, 2005, 02:29 AM »
Hey skrommel!

Thanx 4 that.  It's pretty awesome. :up:

I don't know if U R interested in developing this any further.  If U R can I suggest a couple changes:

1)  Ctrl+Z should scroll through the clipboards in the opposite direction.  U R more likely 2 want recent clips & it is more efficient 2 not have 2 switch 2 the Ctrl+C combination.
2)  Remove the surplus text "Clip 1 of #" from the Ctrl+Z "cancel" option's tooltip.  (So that it is displayed like the Ctrl+X "cancel" option.)
3)  The most recent clip should B "Clip 1"

Either way I will B using it 4 sure.

Thanx again.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #4 on: August 05, 2005, 08:58 AM »
Let me se if I understand:

1) You want to press Ctrl-Z directly to paste and scroll in the oposite direction. But don't you want to use Ctl-Z for undo?
2) Please explain.
3) I thought it would be easier to find the clip you wanted if they kept the same name (number) from day to day. By naming the most recent clip "Clip 1", the clips would move around. But what If I swap the scroll direction of Ctrl-V and Ctrl-X?

Please elaborate.

Edit: Updated the original script to swap the scroll direction, and removed two bugs.

Skrommel
« Last Edit: August 05, 2005, 04:52 PM by skrommel »

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #5 on: August 05, 2005, 07:23 PM »
Thanx 4 changing the scrolling direction.  I think it is an improvement. :up:

The tooltip for Clip 1 is always: [Cancel - Clip 1 of ##]
I was suggesting that it should just be: [Cancel]
But I would prefer not to have any [Cancel] option using Ctrl+C or Ctrl+V.  Ctrl+X only is perfect.

As for the numbering, I think the vast majority of clips will B useless after 1 use.  That means the files must B deleted manually.  I thought if the most recent clips were numbers 1 to 10 then you would manually delete clips 11-87 or whatever.  If the most recent clips are 78-87 then you must delete clips 1-77.  When you start copying again the clips would be numbered in different groups (I think).  This is no big deal.  I just thought it would B tidier & older clips would become less relevant.

One other thing that I noticed is the tooltips are not displayed 4 long enough.  If I am scrolling through the clips they disappear after a few seconds.  This is annoying if I am distracted or reading the clip.  After the tooltip has dissapeared you must scroll to another clip to get the tooltip back.

Also, I don't think the tooltip is neccesary when you release the control key to paste or cancel.  It is distracting.

Again, thanx 4 all your effort.  I find this very useful.  It should B standard in Windows in my opinion.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #6 on: August 06, 2005, 04:11 PM »
 :) Updated ClipStep to v1.1: Changed the ordering and naming of the clips, removed the empty Cancel clip, keeps clip visible while scrolling. Also the non text clips now work.

I like it. Great idea, skywalka!

Skrommel
« Last Edit: August 06, 2005, 07:34 PM by 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: Scroll Thru Clipbard Contents When Pasting
« Reply #7 on: August 07, 2005, 08:25 AM »
 :) Updated ClickStep to v1.2: Removed a few bugs, tweaked some functions.

Skrommel
« Last Edit: August 07, 2005, 08:56 AM by skrommel »

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #8 on: August 07, 2005, 08:48 PM »
Hi skrommel.

Thanx yet again.

I'm having trouble with the latest version.  I've rebooted my machine & it seemed 2 work a couple times but then clips stopped being copied.

When trying 2 copy I got the tooltip message "Empty selection" & I couldn't paste the selection.  When I tried again I got the message "Same selection" & still couldn't paste.

The problem seems intermittent.

I'll try & determine the problem.

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #9 on: August 23, 2005, 04:24 AM »
Hi Skrommel.

The trailing dots (...) should be displayed only for tooltips that have been truncated.

eg:  If I copy the word "Apple" the tooltip should be "Apple" not "Apple...".  This is currently not how ClipStep works.

But If I copy the sentence
"Wests Tigers continued to re-write the record books on a glorious night at Telstra Stadium last Friday. In front of a new club record crowd of 29,542 Wests Tigers extended their longest ever winning streak to 8 not out while fullback Hodgson knocked over 9 straight goals from all over the stadium."
Then the tooltip should be
"Wests Tigers continued to re-write the record books on a glorious night at Telstra Stadium last Fri..."
This is working correctly for long clips at the moment.

Thanx again.
« Last Edit: August 23, 2005, 10:54 AM by skywalka »

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #10 on: August 23, 2005, 10:42 AM »
I mentioned above that there was a bug.  I think I've found the cause.

If U "Copy" using the rightclick context menu the data is only accessible via the rightclick context menu's "Paste" option.  It is not accessible via Ctrl+V.  I was thinking that I hadn't copied the data (daydreamer?) so I would copy it again BUT the second time I would use Ctrl+C to copy the same data.  I would then get the tooltip message "Empty Selection" or "Same Selection".

Is it possible for ClipStep to intercept the rightclick context menu clipboard also?
« Last Edit: August 23, 2005, 10:52 AM by skywalka »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #11 on: August 23, 2005, 03:32 PM »
 :) Thank's for the feedback, skywalka.

I originally captured all clipboard activity, but it was not behaving, so I had to remove it. But I have been asking around, and it seems it's only my PC that's acting up, so I'll look into putting it back in.

Also I'd like to have graphic clips show as images, but it's not yet properly implemented in AutoHotkey. 

Skrommel

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #12 on: September 04, 2005, 07:38 PM »
Another bug.

It's taken me a long time to find the cause of the bugs but I think I have another worked out.

These conditions must B satisfied:
The last text copied using Ctrl+C has already been pasted using Ctrl+V.
You then use Ctrl+V to scroll beyond the first clip but then use Ctrl+X to cancel.
Now, when you use Ctrl+C to copy something else, the tooltip "Empty Selection" is displayed.
To reset the clipboard you must paste using Ctrl+V any clip except the first.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #13 on: September 04, 2005, 07:43 PM »
 :) Thank's! I'll get right on it!

Skrommel

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #14 on: September 04, 2005, 08:09 PM »
No!  Thankyou! ;)

ps
Can you prevent the "Cancel" tooltip from dissapearing after 1 second.  So that it is visible as long as the Ctrl key is depressed.

Can you disable the "Pasting clip #" tooltip.  It is more distracting than informative since you can see that something else has been pasted.

Thanx again.

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #15 on: September 06, 2005, 05:48 PM »
Hi skrommel.

I've noticed something else.  I thought it may help you trace the bug.

When using Ctrl+C to copy & you get the "Empty Selection" tooltip the selection is not copied to the ClipStep clipboard.  However, if you then use the context menu right-click paste you will notice that the content has been copied & pasted!

Also, when using Ctrl+C to copy & I get the "Empty Selection" tooltip if I hold down the keys, after a while, it will eventually copy despite some "Same Selection" & "Empty Selection" tooltips.

vevola

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 104
  • VeVoLa
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #16 on: October 01, 2005, 08:14 AM »
Would it be possible:
- to add an "Empty clipboard" to start over, with confirmation dialogue box?
- to user-define how many clips to be stored?
- user-define clicking on tray icon functions (es. left click empty, right click whatever)?

 ;) Ciao!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #17 on: October 01, 2005, 03:24 PM »
 :) Working on a graphical version... Hope to incorporate some of this.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,260
    • View Profile
    • Donate to Member
Re: DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #18 on: December 25, 2005, 07:38 AM »
The good ol' ClipX allows you to pop up a list of the saved clipboard entries, the list is also searchable!

ovehal

  • Participant
  • Joined in 2005
  • *
  • Posts: 16
    • View Profile
    • Donate to Member
Re: DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #19 on: June 29, 2006, 11:57 PM »
Great Idea skywalka, and a great program skrommel.

One suggestion: Is it possible to show the tooltip at the cursor and not by the mouse?

When copying and pasting I tend to move the mouse out of the way => the tooltips pops up far from where my focus is.

But It's by far the best clip'n paste app I found :Thmbsup:

Ove B-)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #20 on: July 02, 2006, 07:36 AM »
 :) To
show the tooltip at the cursor
should be possible. I'll check it out when I get round to upgrading ClipStep.

Skrommel

lls

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 14
    • View Profile
    • My blog
    • Read more about this member.
    • Donate to Member
Re: DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #21 on: January 11, 2007, 12:08 PM »
ClipStep is almost what I've been looking for for a long time. Thank you very much!
Skrommel, could you please make it capture links copied with "Copy Link" from websites?

skywalka

  • Member
  • Joined in 2005
  • **
  • Posts: 254
    • View Profile
    • Donate to Member
Re: IDEA: Scroll Thru Clipbard Contents When Pasting
« Reply #22 on: January 11, 2007, 01:17 PM »
Hi skrommel.

Thanx yet again.

I'm having trouble with the latest version.  I've rebooted my machine & it seemed 2 work a couple times but then clips stopped being copied.

When trying 2 copy I got the tooltip message "Empty selection" & I couldn't paste the selection.  When I tried again I got the message "Same selection" & still couldn't paste.

The problem seems intermittent.

I'll try & determine the problem.

Still buggy.

lls

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 14
    • View Profile
    • My blog
    • Read more about this member.
    • Donate to Member
Re: DONE: Scroll Thru Clipbard Contents When Pasting
« Reply #23 on: January 11, 2007, 02:04 PM »
The same thing here. Short-lived was my joy.  :(