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, 8:37 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

Last post Author Topic: NANY 2010 Release: ClipTrap  (Read 131214 times)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #50 on: March 10, 2012, 09:06 PM »
Website | Download
v1.0.7 - 2012-03-10
    * Made a slight change/tweak to the "Copy window text" functionality to
      try and preserve CR/LF line endings.  (Thanks, N. Richardson)

jltarley

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #51 on: April 11, 2012, 04:39 PM »
i like the program, nice and lightweight. How about adding a "close to tray" option? I'm always closing it by mistake and then have to redo all of the clips that i thought that i was saving because i accidentally clicked close rather than minimize.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #52 on: April 11, 2012, 04:48 PM »
Can do...and welcome to the site.  =]  Give me just a minute.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #53 on: April 11, 2012, 05:10 PM »
Here you go.   :D

Website | Download
v1.0.8 - 2012-04-11
    + Added "Close to tray" option.  (Thanks, jltarley)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #54 on: April 11, 2012, 05:38 PM »
Here you go.
That took over twenty minutes. Surely you can do better than that!  :P
 

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #55 on: April 11, 2012, 05:39 PM »
I ate dinner in there, too.   :P

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #56 on: April 12, 2012, 12:20 AM »
I ate dinner in there, too.   :P
Two coding snacks for the price of one!  :o

lanes1

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #57 on: April 12, 2012, 03:48 AM »
Is there a unicode version?

jltarley

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #58 on: April 12, 2012, 03:53 AM »
lol wow man. you are now my favorite coder in the world. thank you much.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #59 on: April 12, 2012, 06:19 AM »
I ate dinner in there, too.   :P
Two coding snacks for the price of one!  :o
-cranioscopical (April 12, 2012, 12:20 AM)

so this was a pre-dinner snack? wonder if that is healthy.. :D

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #60 on: April 12, 2012, 08:08 AM »
Is there a unicode version?

Welcome to the site, lanes1.  Yes, there is a Unicode build but my build and upload script was borked.  I've fixed it and the download zip should now contain both versions.  Apologies for that.

Website | Download
v1.0.9 - 2012-04-12
    ! My build script wasn't including the Unicode build properly.  The
      install zip file should now include ClipTrap.exe and ClipTrap_ANSI.exe.
      The ClipTrap.exe is the Unicode version.  (Thanks, lanes1)

lanes1

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #61 on: April 13, 2012, 05:43 AM »
Thanks a lot. Now it's really handy!  :)

jltarley

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #62 on: April 14, 2012, 06:46 AM »
Okay, being as so that you are my favorite coder, I have a couple more suggestions for you. lol

First, let me say, the best thing about this program I think is the light-weight nature of it. Sure, ARSClip and others have all of the bells and whistles, but what is necessary in a clipboard aggregator? I just want something that holds my info through a session and gives me the opportunity to recall previously clipped info. To be honest, maybe I'm not so smart, but ARSclip is just too much. I am too busy to spend an entire day figuring out the intricacies of things that I really don't need. That being said, yours is the first that I have actually used more that a few days without becoming weary of things popping up with my right-click, etc., and it also doesn't interfere with my Autohotkey scripts that are ALWAYS running in the background. Thanks for that.

SUGGESTIONS:

The opportunity to put a simple time-stamp in my delimiter line would be awesome.
The option to show the aggregated text either top-to-bottom or bottom-to-top, meaning most recent clips either being at the top or at the bottom. I am constantly switching in between excel, my calculators, word, and notepad (civil engineering and design), and I do a whole lot of cut/copy/paste. It's a tad-bit inconvenient to have to scroll all the way to the bottom of the stack each time to recall the info from two or three clips previous. It would be easier to just be able to roll the scroll once or twice to get to what I need.

Anyway, great program, I love it.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #63 on: April 14, 2012, 07:12 AM »
The opportunity to put a simple time-stamp in my delimiter line would be awesome.

Great idea.  I'll add this.

The option to show the aggregated text either top-to-bottom or bottom-to-top, meaning most recent clips either being at the top or at the bottom.

Unfortunately, ClipTrap was not designed for this.  In other words, ClipTrap doesn't have any concept of separate clips.  It just takes what test was there before and adds the currently copied item to the end.  That being said, it could just as easily add that to the top instead of the bottom.  However, that wouldn't be something that would be sortable AFTER a piece of text is copied.  It would go something like this:

Current operation:

Clip 1
Clip 2
Clip 3
Clip 4

With "Add to top" setting in place:

Clip 4
Clip 3
Clip 2
Clip 1

If you changed to the new setting after, say, Clip 2:

Clip 4
Clip 3
Clip 1
Clip 2

Does that make sense?  Again, I never designed ClipTrap with the concept of separate clips.  It was designed to accomplish a certain purpose in regards to my last workplace.  As current, it fits a niche in between using a full-fledged clipboard manager and using nothing at all.  FWIW, have you ever tried NirSoft's Clipboardic application?  It may be more suited to what you're after:

http://www.nirsoft.n...ils/clipboardic.html

Also, check out ClipCube:

http://clipcube.wikispaces.com/

jltarley

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #64 on: April 14, 2012, 09:41 AM »
I have tried Clipboardic, as Nirsoft has some great stuff for us old school portable and lightweight folks, but with Clipboardic and Clipcube both, again, they offer more than I need. Yours is damn near perfect. I mean, it's clipboard scraps. If I needed something that I would have to search for, it would at least make it to my note.txt before I would have to go digging around in my clipboard utility. Most of the clipboard utilities, I believe, are exercises in programming that end up way more 'functional' and bloated than the author's original intention.

There is an elegance to simplicity, and yours is very elegant. By showing top-to-bottom, I had meant to just have an option such as 'append to top' and 'append to bottom'. You could also address that by having a scroll-to-bottom button that takes you straight to your last clip. But it's your program, I love it, so I'm not going to knock it at all.

Much thanks again.

By the way, by 'append to top' I mean exactly as you have outlined there; not separate clips:
1
2
3
4

or (which would be better for me personally)
4
3
2
1
« Last Edit: April 14, 2012, 11:34 AM by jltarley »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #65 on: April 15, 2012, 09:20 AM »
Give this a try.  I think I got all of your requests in there:

Website | Download
v1.1.0 - 2012-04-15
    + Added ability to append new clips to the top of the stack.  Use the
      dropdown list in the toolbar to switch between the top and bottom
      options.  (Thanks, jltarley)
    + Added "Scroll to top" & "Scroll to bottom" toolbar buttons to more
      easily navigate the edit field.  (Thanks, jltarley)
    + Added ability to configure a timestamp string as part of the clip
      delimiter.  This uses the standard AutoHotkey timestamp tokens as
      found on the following webpage:
      http://www.autohotkey.com/docs/commands/FormatTime.htm
      In addition to actually configuring the timestamp string, you must
      enable this option by checking the "Enable timestamp tokens"
      checkbox.  (Thanks, jltarley)
    + Statusbar now shows the contents currently on the clipboard.


So, for the delimiter string, you could now have something like: \r\n\r\n[yyyy-MM-dd hh:mm:ss]\r\n\r\n

This would create output like this:

[2012-04-15 09:17:19]

Clip 1

[2012-04-15 09:17:26]

Clip 2

[2012-04-15 09:17:31]

Clip 3
« Last Edit: April 15, 2012, 11:59 PM by skwire »

jltarley

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #66 on: April 15, 2012, 04:06 PM »
wow. that is great. I think you are finished with this gem, it is perfect. The status bar holding the most current clip is a great addition. Thank you much.

Is this written in ahk?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #67 on: April 15, 2012, 06:23 PM »
wow. that is great. I think you are finished with this gem, it is perfect. The status bar holding the most current clip is a great addition. Thank you much.

You're welcome.  Glad you've found it useful.

Is this written in ahk?

Yes, all my software is written in AHK.   http://skwire.dcmemb...om/fp/?page=software

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #68 on: May 23, 2012, 04:52 PM »
Another possible enhancement request:  Auto-save every so often, perhaps 15 minutes.

I had ClipTrap running to capture a number of things from the web, but maybe because I had opened too many tabs in browser the system crashed and restarted on me.  So all the clips were lost.

This suggestion would seem to go along with an earlier request I've made, to put-to-disk the clips, so that they can be accessed from disk at some point.

Thanks Skwire.

Nicholas Kormanik

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #69 on: May 23, 2012, 04:55 PM »
Question while I'm at it:  Why do you use AHK as opposed to one of the other common programming languages?  Just curious.  I'm not a programmer.


skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #70 on: May 23, 2012, 08:08 PM »
Another possible enhancement request:  Auto-save every so often, perhaps 15 minutes.

Website | Download
v1.1.1 - 2012-05-23
    + The clip list is now saved between sessions.  (Thanks, nkormanik)


Why do you use AHK as opposed to one of the other common programming languages?

First and foremost, it gets the job done.  In the end, that's what matters most to me.  Second, it's easy to pick up and can do a ton of stuff.  Third, it doesn't require a huge IDE setup; any text editor will do.

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #71 on: May 24, 2012, 01:13 AM »
AHK -- and YOU --- certainly do get the job done.  Quite amazingly.

Thanks so much!

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #72 on: July 06, 2012, 04:49 PM »
Hello, Skwire,  I am using Windows 7 64bit, and ClipTrap 1.1.1.  ClipTrap used to work, then it stopped, and I am getting this error:

Error: Can't create control.  The current thread will exit.
Line#
249: Gui,Add,Edit,xm ym+25 w505 h200 Wrap HScroll hwndText_hwnd vText_edt,Block

Oooo- I figured it out - I had copied a bunch of aspx code - html and css - before it broke.  After I cleared the clip.txt file, it worked again.  Sorry, I wish I had saved a copy of clip.txt for you to look at...

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #73 on: July 06, 2012, 11:19 PM »
Error: Can't create control.  The current thread will exit.
Line#
249: Gui,Add,Edit,xm ym+25 w505 h200 Wrap HScroll hwndText_hwnd vText_edt,Block

Oooo- I figured it out - I had copied a bunch of aspx code - html and css - before it broke.  After I cleared the clip.txt file, it worked again.  Sorry, I wish I had saved a copy of clip.txt for you to look at...

Wow...very strange.  If you ever can make it do that again, by all means, send me the clip.txt file.  Thanks for reporting this.

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: NANY 2010 Release: ClipTrap
« Reply #74 on: July 07, 2012, 08:48 AM »
Sure, I will do that.  Sitting behind a fancy firewall-router, I am not too concerned for security, so I like having ClipTrap on all the time.  That is an assurance when I am writing code.  Thanks for answering.