DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Finished Programs => Topic started by: skywalka on June 23, 2005, 11:43 AM

Title: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on June 23, 2005, 11:43 AM
My pet peave is online forms that restrict the number of characters that can B entered in a field but don't report the number of characters U have already entered.

I would like 2 B able 2 select text & have a rightclick option 2 count the number of characters used.
Title: Re: IDEA: Report the Number of Characters in Highlighted Text
Post by: ack-hh on July 02, 2005, 12:51 PM
I would like 2 B able 2 select text & have a rightclick option 2 count the number of characters used.
I second that - very useful IMHO.
Title: Re: IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 15, 2005, 01:35 PM
this would be extremely easy to do with a hotkey and tray based tool..
definitely something doable this weekend.

any clipboard apps already have a hotkey to report this?
i'm sure you could make an autoit script to do this, just copy to clipboard and count clipboard characters and report.  any of our autoit experts want to do this, or should somene just whip up a little c++ util for it?
Title: Re: IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 12:53 PM
ok im working on this now, should have finished coding snack today.
Title: Re: IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 03:29 PM
ok done.

version 1.00.01 is now available for download on coding snacks download page.

let me know any issues, etc.

like most coding snacks, it doesn't have an installer, you just run it.
double click tray icon to configure the hotkey (default is ctrl+alt+T).

note adding a right-click context menu to count was not feasible, so you have to use hotkey instead.
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 03:35 PM
lots more functions could be added to this to manipulate clipboard text later.
suggestions are welcome.
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: kfitting on July 16, 2005, 03:45 PM
One quick suggestion: could you make it an option to have a message box or balloon tip display the number?  I have balloon tips turned off (they have a nasty habit of popping up and not going away, eg printing balloon tips).  I realize this may just be asanine... but it doesn't sound to hard to do... I think!  Other than, it does exactly what it says, well. 

Kevin
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 04:42 PM
not assinine at all..
it's trivial for me to make messagebox option though it has the drawback of stealing focus and requiring you to press ok or hit enter.  but it's easy to add so i'll add that, and then later see if i can't find a nice free alert-box component like you see in ms outlook and other programs.

btw i was going to make this a tiny visual c++ tool but i figured that we might want to extend it with some new clipboard type operations so i went with c++ builder which is a lot easier for me to add stuff too, at the cost of a bigger exe.

another issue - i was thinking maybe that the auto ctrl+C option should have another checkbox option saying "restore clipboard after count."
so that it would auto copy the selected text, count it, then REPLACE the clipboard with what was in it before triggering the hotkey.
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 05:02 PM
v1.00.02 uploaded without messagebox output option and clipboard text restore option.
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: Scott on July 16, 2005, 06:55 PM
any clipboard apps already have a hotkey to report this?

Just for existing ClipMate users...  Whenever you copy text to the clipboard, then view it in the ClipMate Explorer window, the number of characters is shown in the status bar.

Again, I am not suggesting ClipMate as an alternative to Clipboard Helper; just showing that ClipMate users may not need it.  (I can't stand having to put a disclaimer on everything I say, but it seems to help prevent people from going nuts on me.)
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 16, 2005, 07:02 PM
no need for disclaimer for me -
clipmate has TONS of features, and if you want a full clipboard tool, and have the money to spare, its a good choice.

i think i will probably add some *OPTIONAL* clipboard monitoring and history tools to my clipboard helper, including keeping a history of clipboard text so you can go back and find older stuff, and adding a custom sound whenever a new item is copied, as these are the two features i use in any clipboard tool.

 frankly i don't need any of the fancy stuff, i just want a very reliable clipboard history, so that i can go back and find older stuff if i need it (i dont need a big database with fancy features, a simple text file log would be fine for me.  and a customizable sound so i know when something has been succesfully copied.

any other minimal feature requests?
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: kfitting on July 16, 2005, 08:11 PM
Have you looked at Mike Lin's Clipomatic?  (http://www.mlin.net/Clipomatic.shtml)  His is a minimalistic tool with a few nice features.  You can save clipsets and load them later.  Plus you can also quickly and efficiently paste from the clipboard history.  The only thing you mentioned that he doesn't have is a sound... but it's worth looking into.  Even just to update his idea, since he hasnt updated for a few years now.  I have tried other clipboard utilities but his is just easy to use!  Also, it only uses 140k of ram.

Kevin
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: kfitting on July 19, 2005, 01:34 PM
Hey mouser, I saw in another thread about you being almost done with your clipboard tool.  I was also reading about the whole "copy text as soon as it's selected" thing.  I was wondering if this would be included in your tool? 

Kevin
Title: Re: DONE 7/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 19, 2005, 01:43 PM
now that is an interesting idea.. i actually have the tools i need to add a global mouse hook to do that i think -
would be more a matter of figuring out a smart way to detect when it was appropriate to auto copy.

let's try it, just for fun :)
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on July 21, 2005, 06:01 AM
i have just updated the first beta release of Clipboard Help+Spell, a full featured clipboard utility.
https://www.donationcoder.com/Software/Mouser/clipboardhelpandspell/index.html

i plan to try to add in the next week or so both automatic copy-on-select method,
AND the dynamic spell checking seen in as-u-type, so hopefully we can give some of these expensive shareware clipboard tools a run for their money.

i'd very much appreciate more suggestions for features, but we should do it in the new forum section for Clipboard Help+Spell here:
https://www.donationcoder.com/forum/index.php?board=49.0, and we should leave this thread closed for now.
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on August 05, 2005, 03:29 AM
Hi Mouser.

I didn't receive notifications of replies 2 my thread so am surprised 2 C that this request has been fulfilled!

Thanx 4 making that application.  It will come in handy.

I downloaded it off the main page but when I run it I can C the configuration dialogue only 4 a fraction of a second.  It instantly minimises & then there is no rightclick option 2 access it either.

Personally I don't really need it but thought U'd like 2 know.

Thanx again.
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on August 05, 2005, 05:51 AM
clipboard helper does flash the config screen before hiding.. that's a bug.  after that it should be in your tray (double click to configure).

however the new clipboard tool that grew out of this request will do everything this one does but a lot more.

Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on August 23, 2005, 02:18 AM
The first time I double click it the settings R displayed.

However, any subsequent doubleclicks bring up what looks like the AHK gui that displays the script.
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on August 23, 2005, 02:41 AM
are we sure we are talking about this tool? its not made with autohotkey or anything like it, so there shouldnt be any strange screen like that..
note that this tool is being made obsolete with Clipboard Help+Spell and also skrommels's clipboard count tool.
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on August 23, 2005, 02:50 AM
DOH!

Sorry, I was closing the settings box instead of clicking OK & that was closing the program.

When I tried checking it again I was clicking on AHK cause I must B daydreaming.

Sorry :-[
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skrommel on September 04, 2005, 12:18 PM
 :) I just updated DragKing to display chars, words and lines in selected text.

https://www.donationcoder.com/forum/index.php?topic=191.0

You'll find the downloads and more info at  Skrommel Software (https://www.donationcoder.com/Software/Skrommel).

Skrommel
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on September 04, 2005, 07:19 PM
Thanx, as always, skrommel!
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: Veign on September 07, 2005, 04:41 PM
Another option is my Note-It application (http://www.veign.com/download_app.asp?app=102).

Right-click on the caption on the bottom and you have options for Word Count and Character count.  Note-It also includes special notes for a Clipboard viewer and Clipboard Log...

Just another option..

Added: Its a freeware application
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: skywalka on September 07, 2005, 06:10 PM
Thanx Veign.
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: LuckMan212 on December 03, 2005, 10:05 PM
hey mouser in that screenshot ( https://www.donationcoder.com/forum/index.php?topic=424.msg3377#msg3377 ) what is "Alert Box (not avail. yet)" -- is that some GUI object thats only available in Windows Vista or something?  just curious..........  ;)
Title: Re: DONE 07/16/05 - IDEA: Report the Number of Characters in Highlighted Text
Post by: mouser on December 04, 2005, 03:50 AM
an alert box is the name used for that style of notification that is like a little box that is shown in outlook or msn messenger, where it kind of rises up from lower right of your screen and then dissapears.  it's just an alternative way of showing a bit of info.