Welcome Guest.   Make a donation to an author on the site November 21, 2014, 01:04:36 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2012! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 [3] 4 5 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2010 Release: ClipTrap  (Read 44652 times)
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #50 on: March 10, 2012, 09:06:27 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)
Logged

jltarley
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« Reply #51 on: April 11, 2012, 04:39:13 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.
Logged
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #52 on: April 11, 2012, 04:48:00 PM »

Can do...and welcome to the site.  =]  Give me just a minute.
Logged

skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #53 on: April 11, 2012, 05:10:32 PM »

Here you go.   cheesy

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

cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,195



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #54 on: April 11, 2012, 05:38:22 PM »

Here you go.
That took over twenty minutes. Surely you can do better than that!  tongue
 
Logged

Chris
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #55 on: April 11, 2012, 05:39:31 PM »

I ate dinner in there, too.   tongue
Logged

cranioscopical
Friend of the Site
Supporting Member
**
Posts: 4,195



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #56 on: April 12, 2012, 12:20:02 AM »

I ate dinner in there, too.   tongue
Two coding snacks for the price of one!  ohmy
Logged

Chris
lanes1
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #57 on: April 12, 2012, 03:48:44 AM »

Is there a unicode version?
Logged
jltarley
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« Reply #58 on: April 12, 2012, 03:53:24 AM »

lol wow man. you are now my favorite coder in the world. thank you much.
Logged
lanux128
Global Moderator
*****
Posts: 6,131



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #59 on: April 12, 2012, 06:19:30 AM »

I ate dinner in there, too.   tongue
Two coding snacks for the price of one!  ohmy

so this was a pre-dinner snack? wonder if that is healthy.. cheesy
Logged

skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #60 on: April 12, 2012, 08:08:22 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)
Logged

lanes1
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #61 on: April 13, 2012, 05:43:27 AM »

Thanks a lot. Now it's really handy!  smiley
Logged
jltarley
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« Reply #62 on: April 14, 2012, 06:46:15 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.
Logged
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #63 on: April 14, 2012, 07:12:31 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.net/utils/clipboardic.html

Also, check out ClipCube:

http://clipcube.wikispaces.com/
Logged

jltarley
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« Reply #64 on: April 14, 2012, 09:41:46 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:02 AM by jltarley » Logged
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #65 on: April 15, 2012, 09:20:21 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:

Quote
[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:48 PM by skwire » Logged

jltarley
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« Reply #66 on: April 15, 2012, 04:06:40 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?
Logged
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #67 on: April 15, 2012, 06:23:41 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.dcmembers.com/fp/?page=software
Logged

nkormanik
Participant
*
Posts: 292

View Profile Give some DonationCredits to this forum member
« Reply #68 on: May 23, 2012, 04:52:53 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
Logged
nkormanik
Participant
*
Posts: 292

View Profile Give some DonationCredits to this forum member
« Reply #69 on: May 23, 2012, 04:55:25 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.

Logged
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #70 on: May 23, 2012, 08:08:30 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.
Logged

nkormanik
Participant
*
Posts: 292

View Profile Give some DonationCredits to this forum member
« Reply #71 on: May 24, 2012, 01:13:16 AM »

AHK -- and YOU --- certainly do get the job done.  Quite amazingly.

Thanks so much!
Logged
BGM
Participant
*
Posts: 94


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #72 on: July 06, 2012, 04:49:36 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...
Logged

-BGM
skwire
Global Moderator
*****
Posts: 4,157



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #73 on: July 06, 2012, 11:19:02 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.
Logged

BGM
Participant
*
Posts: 94


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #74 on: July 07, 2012, 08:48:03 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.
Logged

-BGM
Pages: Prev 1 2 [3] 4 5 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.046s | Server load: 0.15 ]