DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Post New Requests Here => Topic started by: IconBoy on July 31, 2007, 10:25 PM

Title: IDEA: Show number of characters as I type in email
Post by: IconBoy on July 31, 2007, 10:25 PM
Sometimes I need to send an email which comes to my phone as an SMS. It would be handy to know when I have reached the 160 character limit as I type in real-time or even if I paste. Does anyone have an idea how this can be done and only show when I use Outlook Express (or Outlook) or when I use IE or FF for example. I don't need it when I am typing in Notepad.
Thanks
Title: Re: IDEA: Show number of characters as I type in email
Post by: mouser on July 31, 2007, 10:58 PM
one of the features of my program Clipboard Help+Spell is a hotkey that will count the characters selected:
https://www.donationcoder.com/Software/Mouser/clipboardhelpandspell/index.html

[ You are not allowed to view attachments ]

The program is a bit overkill for what you want though..
Title: Re: IDEA: Show number of characters as I type in email
Post by: Nod5 on August 01, 2007, 04:59 PM
IconBoy: since you talked about OutlookExpress I assume that's what you'd like to se a character count for in this thread also. I tried making a small AHK script that grabs the text from the new message window but I didn't get the preferred method to work (that is, this did not work: ControlGetText, some_output_variable_name, Internet Explorer_Server1, ahk_class ATH_Note ). I think it has to do with the type of control that the new message window is. Without finding a way to work on that control directly I can only think of quite messy ways to count the characters through AHK. For example: send ctrl+A (select all) and ctrl+C (copy) to the text, count the number of copied characters and tell you the result. Like this, assuming that the email input box in the new message window has focus:

F7::
xvar2=
TrayTip
sendinput ^a
sleep 100
sendinput ^c
StringLen, xvar2, clipboard
TrayTip,, string length = %xvar2%,2
sendinput {end}
return

Drawbacks with that: 1. requires manual input (pressing F7 above, or some other hotkey) since letting the script autorun repeatedly would prevent the user from adding text due to the select all step (ctrl+a), 2. the text selection is noticeable and so visually disturbing and 3. the current input prompt position is lost due to the select all step.

Still, that kind of character counting on hotkey press might be enough in some situations perhaps?
Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 01, 2007, 11:35 PM
Thanks for your input. I was really hoping for real-time counting as I type. Perhaps someone who is way more clued up on programming/scripting could get a bright idea! :tellme:
Title: Re: IDEA: Show number of characters as I type in email
Post by: app103 on August 01, 2007, 11:49 PM
In my signature is a blue banner for the Donation Coder Whatpulse team. They have a key counter application (not a key logger!) that you can send a pulse to clear it before you begin your email, keep the 'geek dialog' window open, and observe the key count it displays.

It will not count characters you paste, and it will count backspaces as key strokes. Not a perfect solution, but it is an option.

Plus you'd be contributing to the team's scores.  ;)

screenshot explained
kc = key count
mc = mouse clicks
tkc = total key count
tmc = total mouse clicks
rank = my position rank on the whatpulse site
klp = keys last pulse (when i cleared it by sending my totals in to the site)
miles moved = miles I have moved my mouse


[ You are not allowed to view attachments ]
Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 02, 2007, 12:23 AM
So do I need to create a profile to use it or can I use it without "logging in"?
Thanks
Title: Re: IDEA: Show number of characters as I type in email
Post by: app103 on August 02, 2007, 12:24 AM
you need to create a profile & log in...and by that I mean set up an account, and create an alias on the site for each pc you will be running it on.
Title: Re: IDEA: Show number of characters as I type in email
Post by: steeladept on August 03, 2007, 12:11 PM
I can't seem to find it now, but I thought Firefox had an SMS plugin that would do this, if Firefox is, indeed, and option.
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 04, 2007, 11:17 PM
IconBoy: do you want this character counting feature to be available all the time or only when you're typing inside OE? i can make an AHK gui in which you can type your message & later paste into an editor of your choice.. :) what do you think?
Title: Re: IDEA: Show number of characters as I type in email
Post by: hamradio on August 04, 2007, 11:40 PM
Another option is to use html + javascript like the one found at:

http://www.shiningstar.net/articles/articles/javascript/dynamictextareacounter.asp (http://www.shiningstar.net/articles/articles/javascript/dynamictextareacounter.asp)

Create your own page then type your message in it then copy and paste to the window of your choice.  :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 04, 2007, 11:47 PM
...but I thought Firefox had an SMS plugin that would do this...
steeladept, i think this is what you had in mind: Teleflip

Send instant messages to cell phones via Firefox. It uses the free service Teleflip and the freeware SMTP mailer Blat. Currently only compatible with Windows and service areas of North America.
-website
• http://roachfiend.com/archives/2005/03/06/teleflip/

Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 05, 2007, 03:39 AM
NOTE: Get the latest version of Count-as-you-type here (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690)
Due to virus false alarm on compiled Autohotkey scripts. i'm going to recompile the script and will post them later. in the meantime, i'm going to remove the download links temporarily.

i seem to have too much time on hand so i came up with this AHK script.. there is a list of changes below. :)

Count-as-you-type v1.36
• display number of characters typed.
• needs Autohotkey (http://www.autohotkey.com) for the AHK script. there is a compiled EXE as well.

Changes:
• name change. 8)
• added tray-balloon notification when exceeding max character.
• auto-appear when OE compose window is active.
• launch GUI by double-clicking tray-icon.
• 'Close to Tray' button closes with text kept in memory (no re-typing).

• Added gui for configuration.
• Changed window detection from AHK Class to WinTitle (see note below).
• Added Nod's code for GUI changes. (Thanks, dude!)
• GUI closes when existing compose window is closed.
• Escape key now works the same as 'Send to Tray'.
• Minor fix: Settings for email app wasn't being saved.

Note: After recognizing the difficulties in supporting more than the three pre-defined email apps, i've added the 'Quick-Send' feature where you can use this script as a stand-alone tool. Basically, type your message then click on the 'Send' button and your default email app will be opened with the message in its compose window. To use this, check the 'Quick-Send' and your 'Copy' button will morph into 'Send' button. :)

Main
[ You are not allowed to view attachments ]

Config
[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 05, 2007, 09:31 PM
Count characters as you type
Thanks - this is a great script!
Is there any chance that if you over 160 characters, it could DING a sound or flash in the taskbar or some other type of of notification?
It would be great if the app autostarted if you started typing a specific email address  :D
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 05, 2007, 10:20 PM
sure i can add notification whenever maximum character is exceeded. :up:

but imo, autostart based on email address will be too resource-consuming, how about if the program appears whenever you have your email compose window open? in that case, i need to know your email program.. :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 06, 2007, 11:31 AM
Thanks very much. I am using Outlook Express 6.00.2900.2180. Perhaps if you had a Prefs option, you could browse to your Email program of choice?
Looking forward to trying it out. ;)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 06, 2007, 08:37 PM
ok IconBoy, i've modified the script to auto-appear whenever OE's compose window is active and added a tooltip when exceeding the max chars.. :) check the above post (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690) for the update..

Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 06, 2007, 09:46 PM
Wow! Wow! Wow! This is so great! Nice how it pops up when you Compose a new message.
Thanks very much! :D
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 06, 2007, 10:18 PM
lanux: just found the thread, can you make this work (exe and ahk)  for outlook 2003? I have to write to a limit so it would be so handy...  :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 07, 2007, 01:20 AM
IconBoy: you're welcome.. glad to be of help. :)

kiwi2b: sure, i can do that but since i don't have outlook 2003, first i have to find out what is the compose window's title.. don't worry, i'll post an update in a day or two.. :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: Nod5 on August 07, 2007, 06:24 AM
great script lanux128!
one idea: maybe add a button to automatically open a new email message window with the entered text as message body? It could use the same mailto: solution that FARR uses perhaps.
Title: Re: IDEA: Show number of characters as I type in email
Post by: IconBoy on August 07, 2007, 05:16 PM
If I open a message, the SMS AHK window pops up as well :-\
I am guessing you only wanted it to pop up when you Composed a new message and not anytime else?
Just a little "bug" work on to help this along 8)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 07, 2007, 07:18 PM
Nod5: thanks for the idea! i've been thinking along that line too since the request from kiwi2b to include Outlook as well.. :)

IconBoy: ;D ;D ;D it hadn't occurred to me.. but then, i don't have any messages in my OE.. thanks, i'll fix it. :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 08, 2007, 11:12 PM
thanks for the feedbacks, guys.. i am posting an update that will be address some of the problems. as usual, i can't test on all email apps, so let me know if there is any hitches.. :)

• get your v1.35 update here (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690)..

Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 09, 2007, 06:09 AM
Hi lanux128

Okay, v1.3 works well with Outlook Express (start a new message and your prog starts etc), but the options dialogue doesn't seem to make the change to Outlook 'stick'. So after changing the option to Outlook, whenever I reopen the options box it is back to Express again. Of course when I start Outlook and make a new message, nothing happens.

Tried v1.35, same problem. Also, Express doen't work either: start a new message, nothing happens.  :(

Also, is it possible to count words as well as characters?  ;)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 09, 2007, 07:25 AM
talk of sloppy coding - it's fixed now, kiwi2b.. :) do try again & let me know..
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 09, 2007, 07:53 AM
Also, is it possible to count words as well as characters?
actually it's possible but not in real-time, though.. i can add a button or a hot-key that can do that & display the word-count in a message-box.. is that ok? :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: ak_ on August 09, 2007, 08:36 AM
lanux> maybe you can set a timer to count words every second, or every two seconds. Couldn't it work ?
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 09, 2007, 08:40 PM
thanks ak_, i'm already using a timer to count the characters.. :) but i'm in discussion with Nod5 to use a g-label instead, let's see how it turns out..
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 10, 2007, 08:59 PM
Still no luck with v1.36, outlook or express. Real time word count would be nice, but button access would be okay too. Here's hoping...
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 10, 2007, 10:10 PM
Still no luck with v1.36, outlook or express.
kiwi2b: can you post a screenshot of your Outlook's compose window? by any chance, are you using non-English Windows? if you are using the English version, then try quitting the program then delete the INI file that is created (filename: count.ini) then start the program again.. :)

Real time word count would be nice, but button access would be okay too. Here's hoping...
hopefully this would not be a problem.. as mentioned earlier, i'll be able to implement real-time word-count soon.. :Thmbsup:
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 11, 2007, 04:49 AM
Sure, here is the screenshot. English is the language and deleting the ini file hasn't changed things. :(
Don't forget v1.3 works with express (not outlook) for me.  :)
Hope this helps...
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 11, 2007, 09:28 PM
ok, i see the problem.. i'll fix this first before starting on the word-count feature.. :)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 12, 2007, 10:14 PM
for someone who doesn't use Outlook, i learned a lot over the weekend.. :) one of the thing is that Outlook uses two different window class and window titles based on the option highlighted in the image below. so hopefully now the problem that kiwi2b mentioned would have been solved.. :up:

[ You are not allowed to view attachments ]

Note: this is an interim release only, eventually it will be incorporated into the main script.. :)
• version - 1.36b (https://www.donationcoder.com/forum/index.php?action=dlattach;topic=9491.0;attach=20850)

Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 13, 2007, 09:32 AM
ok, now that the Outlook problem is taken care of.. i'm starting work on the word count & other features that has been suggested.. :up: here is a demo screenshot, i have to expand the gui to fit everything in & on the bottom-right i'm thinking on placing the config button or a donationcoder.com banner, featuring cody.. :)

[ You are not allowed to view attachments ]
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 15, 2007, 05:07 AM
Hi Lanux128,
Thanks for that help with Outlook... :Thmbsup:

i always forget maximised windows. in fact, CountAsYouType was programmed to appear on the right on the compose window.. this is fixable - in case of maxed windows, i'll just set it to appear on the center. is this ok?
That's fine. :)

That problem: I run my screen at 125% of normal size using the setting found under Display Properties, which makes CountAsYouType's font too big for its windows. Most, but not all, programmes can handle this. Be good if the programme's text could allow for this.

Here's the problem:
[ You are not allowed to view attachments ]

And the same problem in the Options window. :(

It's caused by this setting:
[ You are not allowed to view attachments ]


If I change it back to the Normal display setting of 96dpi CountasYou Type is fine. Is this fixable, why does it happen for some progs, but not others? :tellme:

The new GUI looks excellent, but how can you fit both Cody and the Options button in? ;D

Good work...
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 15, 2007, 11:29 PM
That problem: I run my screen at 125% of normal size using the setting found under Display Properties, which makes CountAsYouType's font too big for its windows. Most, but not all, programmes can handle this. Be good if the programme's text could allow for this.
-kiwi2b

hehe.. i didn't know that large display's would distort the GUI, thanks kiwi2b for pointing it out.. :) anyway, i'll check the AHK forums and try to code around non-fixed dimensions. and it seems that i'll have to give this large display setting the priority..

Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 17, 2007, 03:46 AM
i found a thread at the AHK forums (http://www.autohotkey.com/forum/viewtopic.php?t=7489), which gave me an idea to avoid distortion on PCs with large displays.. :) hopefully, the problem is fixed now & i also made some other changes which include:
• Real-time word count.
• changes made in the Options Gui is now instantaneous.
• Gui takes into account maximised windows before positioning itself.

Before
[ You are not allowed to view attachments ]

After
[ You are not allowed to view attachments ]

here is the latest version - 1.38
[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 17, 2007, 06:48 AM
Well done, it's the best yet, I tried to break it, different dpi, html, text, rich text, it picked it all up without restarts.  :Thmbsup: Perfect ... almost ... ;D :

Look close, real close, and you see the config screen vertical spacing seems off:
[ You are not allowed to view attachments ]
This is with the normal 96dpi, worse with 120dpi.
[ You are not allowed to view attachments ]

Uh oh, here's trouble, the task manager is showing 100% cpu activity with count as you type the culprit, it's happened twice so far.  :(
Just watching it now, the computer hasn't locked up, but count as you type is still at the top wanting 40 to 60% of the cpu  :huh:

Anyway, I've got some ideas for options:
Can you set the position of the GUI optionally? In the middle at the bottom is best for Outlook: less intrusive and keeps the right scrollbar and any left orientated toolbars clear. Bottom left is okay (might hide somebody's toolbar though) and bottom right not so good (hides the scrollbar). Best to make the position optional I guess?
Also, can you make an autostart with Outlook optional? So if Outlook starts (or Express, Thunderbird) then Count optionally starts as well and sits in the tray.
Also, the close button optionally minimises to the tray.
Also, the system tray balloon tip, best to make it optional.
Also, what about Outlook 2007, it's on the horizon for me I guess...
Phew, what a list ...  ;)

Very clever with that w00t in the GUI: change it to a Cody image and leave the button part as a link to the options and you pass the course. :Thmbsup:
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 18, 2007, 10:14 AM
hehe you have an eye for details.. ;D it should be "enter a number here" but i'll lop off the "here" from now on..

expanding the options gui is also a good idea but i need to check on that 100% cpu usage thingy.. are you running the ahk script or the compiled exe when the high cpu activity occurs?

now back to options..
• saving the last GUI position when exiting is probably the better choice. this is what i have in mind, have a check-box that will save the GUI position to INI file when closing.
— when loading again, read x,y position from INI file.
— if happy with current position, go to options & uncheck the 'save position' setting.
— or move around the GUI until you hit a sweet spot then quickly restart then uncheck the setting.
so, what do you think?

• by autostart with Outlook, you mean to start Count-as-you-type with Windows?
• close button to minimize to systray - check.. :up:

• initially i used systray balloon for troubleshooting but i didn't remove them since it is useful as a feedback system. i counted and there is 4 instances where TrayTip is used:
— when loading, it displays the current config settings.
— when exceeding nos. of characters while typing.
— when copying the text, the new clipboard contents are displayed.
— when there is nothing to copy.
is there any particular messages that is bothering you or you hate them all equally? :)

• as for Outlook 2007, i'm going to add a feature for customised windows title. this way you can add as many programs as you want but right now i'm just trying to figure out the best way to do that.. :)

Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 18, 2007, 10:31 PM
hehe you have an eye for details
I've heard that before somewhere, I'll have to watch that. ;)

cpu usage thingy.. are you running the ahk script or the compiled exe when the high cpu activity occurs?
The compiled exe. The problem shows when I have an open Outlook message and the CountAYT window open, with another programme on top. Instead of staying quiet, Task manager is showing CountAYT as wanting 8 to 14% of the CPU. Like when I am writing this message.

saving the last GUI position when exiting is probably the better choice ... have a check-box that will save the GUI position to INI file when closing
Yes, absolutely. Everybody's prefs are different, so this would solve it.

by autostart with Outlook, you mean to start Count-as-you-type with Windows?
Ideally, optionally, start just with Outlook ( or other mail progs) if possible, and then close with Outlook. Keeps the tray clear. Most people around these DonationCoder parts probably already have a too full tray as it is. ;D Otherwise, just start with windows I guess.

close button to minimize to systray - check..
Thanks :)

is there any particular messages that is bothering you or you hate them all equally?
;D This one:
when loading, it displays the current config settings
It's that being repeatedly told something I already know feeling coming back again. ;D Probably best to make each one optional, to please everyone...


Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 19, 2007, 03:55 AM
cpu usage thingy.. are you running the ahk script or the compiled exe when the high cpu activity occurs?
The compiled exe. The problem shows when I have an open Outlook message and the CountAYT window open, with another programme on top. Instead of staying quiet, Task manager is showing CountAYT as wanting 8 to 14% of the CPU. Like when I am writing this message.

kiwi2b: can you try the AHK script and see if the same thing happens? if we can establish that the exe is the problem then i can compile using some other parameters.. :)

Note to self
• Ahk2Exe documentation - http://www.autohotkey.com/docs/Scripts.htm#ahk2exe
• Script performance - http://autohotkey.free.fr/docs/misc/Performance.htm
Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 20, 2007, 06:07 AM
Okay, I tried AHK and the script and it has the same problem. :(
Specifically, I start Outlook, then create a New message, CountAYT starts, CPU jumps up to 10 or 20% (which varies and seems high) and stays that way even if I don't type in CountAYT, close CountAYT to the tray or close the Outlook message. It only stops when I close Outlook.
The life of a programmer huh ...  :D
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 20, 2007, 07:10 AM
hmm.. that's strange, kiwi2b. did you had this problem in previous versions? in fact, i was having similar problems myself (see this post (https://www.donationcoder.com/forum/index.php?topic=7387.0)). :o i will try compiling again & see if that solves the problem.. :)

also on the program update, i'm halfway thru' the options gui and am awaiting some art-work from our resident Cody designer, nudone.. :Thmbsup:
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on August 20, 2007, 12:02 PM
here is a mock-up Options GUI screen.. let me know if you need any other options.. :)

[ You are not allowed to view attachments ]

Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on August 22, 2007, 05:52 AM
CPU problem: Check those 2 emails for details, the problem seems to be in the Outlook option.
Boy, that thread sounded like work. ;D My guess is a lot of people with similar but different problems that sound the same but aren't.
Great options, don't forget to disagregate the balloon tips, it's the one that always tells you about what email programme it is watching I need to disable, the other balloons are great.
A suggestion: not for me at this point, but I can see it as useful, is it possible to make CAYT the only way to enter text into a New Message window, and password protect the options window? That way it could completely stop people writing huge emails when they don't need to. :D
(Anyone know if Outlook has any sort of wordcount, can't find one, and if not then this programme looks pretty unique. :Thmbsup:)


Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on September 02, 2007, 04:59 AM
a new version - v1.40 with some configurable settings and also check out the cool graphics by nudone! 8)

kiwi2b: i haven't pinned down the CPU problem that you were having but in the meantime do try out this version. :)

[ You are not allowed to view attachments ]

Count-as-you-type v1.40
[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]

Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on September 02, 2007, 06:37 AM
Good to see you back, hope you haven't been too busy. ;D
Options look great, graphics are excellent, About tab is the best I've seen, particularly with my name smack in the middle (can you make it flash? Joke). ;D

To recap:
...don't forget to disagregate the balloon tips, it's the one that always tells you about what email programme it is watching I need to disable, the other balloons are great.
A suggestion: not for me at this point, but I can see it as useful, is it possible to make CAYT the only way to enter text into a New Message window, and password protect the options window? That way it could completely stop people writing huge emails when they don't need to
Any of this possible?

How is Outlook 2007 handled, is it to be added to that drop down list? Don't quite understand "To add more than one program split with pipe". Do you mean window not program? Can't read all your comments, so maybe I'm missing something:
[ You are not allowed to view attachments ]

Also, the 1.38 version seemed to be better than 1.40: the CPU problem is worse (under outlook its way high, under express its around 15%; 1.38 was at 15% for outlook, and great for express). :( Also, if I open a new message in outlook, CAYT starts, but if I close the message and open another new message, CAYT fails to open. :huh:


Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on September 02, 2007, 08:28 AM
i've changed the email apps from radio button to drop-down lists.. :) btw, i haven't forgotten your suggestions but i'm planning to do some work on the custom window first and newer apps like Outlook 2007 will be supported under custom winTitle.. if all goes well, the feature will work like this: you put the titles of programs as they appear on your desktop & CAYT will pop-up when they are detected. the syntax could be this way: new file -|New Message|untitled

[ You are not allowed to view attachments ]

as for the cut-off text, can you try clicking on the Cody pic from the main gui and let me know by posting a screenshot if the text is still being cut-off..

about CAYT failing to re-open, did you close the compose window 1st or CAYT? i actually had put in a flag so that CAYT doesn't pop-up if it is closed while the compose window is open. the rationale was that the users need some breathing space.. :)

also, the CPU problem looks like it's something that i have to refer to at the AHK forums.. don't worry, keep those feedbacks coming.. :)

Title: Re: IDEA: Show number of characters as I type in email
Post by: kiwi2b on September 03, 2007, 09:17 PM
Okay, looks like the CPU problem is under control. :Thmbsup: 1.40a and 1.40b seem free of the problem (1.40b seemed to have a problem once, but can't be sure. I'd choose 1.40a to be safe). Well done. :)

The GUI cropping:
[ You are not allowed to view attachments ]

This problem:
about CAYT failing to reopen, did you close the compose window 1st or CAYT? i actually had put in a flag so that CAYT doesn't pop-up if it is closed while the compose window is open. the rationale was that the users need some breathing space..
Okay, I clicked the Close to Tray button of CAYT. Good point about the breathing space. If I click the button, I guess it says CAYT is not required, so it needs to stay in the tray.
But if I open up another message, save and close, then another, and another, CAYT stays silent until closed and restarted. I can imagine a user opening a new message, deciding they don't need CAYT, minimising, sending the message, then opening a new message where they want CAYT, and it doesn't appear!
Then the questions start, where is it, is it broken.... ;)
Then I blame the programmer ;D
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on September 04, 2007, 01:15 AM
that's good news, let me know if it keeps going easy on the CPU usage.. :)

ok, the Gui needs some work but the flag i mentioned sounds broken.. :) so you know the drill, i'll be posting a minor release to you and you'll have to verify that the status of the problem and so on.. 8)
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on September 07, 2007, 09:34 AM
thanks to mouser, Count-as-you-type now has a permanent web space and all new updates can be found here (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690) :Thmbsup: also thanks to justice's code, the program is now DCU-compliant (https://www.donationcoder.com/forum/index.php?topic=9607.0). check out the screenshot.. :)

[ You are not allowed to view attachments ]

• Count-as-you-type D/L Link (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690)

- edit: changed download link.
Title: Re: IDEA: Show number of characters as I type in email
Post by: mouser on September 07, 2007, 10:05 AM
It makes me very happy to see others making use of the updater!
Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on September 13, 2007, 09:36 PM
small update, the custom windows title has been implemented. now CAYT can be used for other applications as well.. this feature is totally optional and can be disabled. also i would like to express my thanks to kiwi2b for his help in testing the early versions.. :)

the custom titles can even be partial windows title provided they are separated by a pipe (|) symbol. and in certain cases, a program's class name can also be used in this format: ahk_class <classname>, e.g. "ahk_class OpusApp" for Microsoft Word..

[ You are not allowed to view attachments ]

you can get v1.45b here (https://www.donationcoder.com/forum/index.php?topic=9420.msg70690#msg70690).

- edit: changed download link.

Title: Re: IDEA: Show number of characters as I type in email
Post by: lanux128 on April 16, 2008, 10:31 AM
the recent virus false alarm on compiled Autohotkey scripts has hit this tool as well so i'm going to recompile the script and will post them later. in the meantime, i'm going to remove the download links temporarily. :(