What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Grammer correcter.

Pages: (2): « First [ 1 ] 2 » Last »
Grammer correcter.
Author: Message:
deltaalphanova
New Member
*


Posts: 8
44 / Male / –
Joined: Jun 2004
O.P. Grammer correcter.
I want to make a program that automatically holds down the shift key for the first character typed in the message box, and that well automatically add a period at the end of a message.

Unfortunatly I am an idiot when it comes to programming.

I would think it would just be 2 very simple if commands. Something like this;

If <first character>.exist = false
Then <hold shift>
//and the other part
If <last character> /= "?"".""!"
then (<last character> + 1) SET <last character> = "."

If anybody is willing to tell me how to make this little thing your help is greatly appriceated, thanks in advance.
08-19-2004 07:49 AM
Profile E-Mail PM Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
RE: Grammer correcter.
c++ or vb?

in c++ it will be someting like
strcpy(sResult,sCommandArg);
if isAlpha(sResult[0]) {
    sResult[0] = toupper(sResult[0] );
}
if sResult[strlen(sResult) - 1] != '.' && sResult[strlen(sResult) - 1] != '?' && sResult[strlen(sResult) - 1] != '!'{
     strcat(sResult,'.');
}

probably the first if isn't even necessary

This post was edited on 08-19-2004 at 08:01 AM by Yousef.
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
08-19-2004 07:59 AM
Profile E-Mail PM Web Find Quote Report
deltaalphanova
New Member
*


Posts: 8
44 / Male / –
Joined: Jun 2004
O.P. RE: Grammer correcter.
Thank you very much, now if only my C++ thing wasen't a peice... (Thats what I get for useing a free one :( )

Is there anybody who is up for makeing me a little program?
08-19-2004 08:12 AM
Profile E-Mail PM Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
RE: Grammer correcter.
I think you just have to learn typing correctly ;). It would be a stupid plugin I guess.

This post was edited on 08-19-2004 at 08:16 AM by Yousef.
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
08-19-2004 08:15 AM
Profile E-Mail PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Grammer correcter.
it would be better if it was encoperated into a bigger plugin
08-19-2004 08:20 AM
Profile PM Web Find Quote Report
deltaalphanova
New Member
*


Posts: 8
44 / Male / –
Joined: Jun 2004
O.P. RE: RE: Grammer correcter.
quote:
Originally posted by Stigmata
it would be better if it was encoperated into a bigger plugin


Can't fault your logic. But I still want one. Right now I'm pretty much up sh!t creek without a paddle just hopeing some kind soul well make it for me. (I hate being a mooch)

This post was edited on 08-19-2004 at 08:23 AM by deltaalphanova.
08-19-2004 08:22 AM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Grammer correcter.
I coded an SPNG talker in JavaScript which will do what you want, so you can set it as an auto-talker and have it on all the time.

Seeing as it's in JavaScript and I've only ever done one thing in JavaScript it gave me a few headaches trying to get to work, but it does.

EDIT: Wait, I forgot to get it to ignore the dot if there's a punctuation char on the end, instead of just if there's a dot. Let me fix it and re-upload.

EDIT2: Right, fixed and uploaded. If the last character isn't an alphabetic char, it won't add a fullstop.

.rar File Attachment: talker.grammar.rar (272 bytes)
This file has been downloaded 262 time(s).

This post was edited on 08-19-2004 at 07:15 PM by segosa.
The previous sentence is false. The following sentence is true.
08-19-2004 05:03 PM
Profile PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Grammer correcter.
* segosa slaps TheBlasphemer around a bit with a large trout
The previous sentence is false. The following sentence is true.
08-19-2004 06:42 PM
Profile PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Grammer correcter.
quote:
Originally posted by Segosa
It's attached in .zip format.
quote:
Originally posted by Segosa
talker.grammar.rar


* Stigmata slaps Segosa around a bit with a large trout.
08-19-2004 06:44 PM
Profile PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: Grammer correcter.
quote:
Originally posted by Stigmata
quote:
Originally posted by Segosa
It's attached in .zip format.
quote:
Originally posted by Segosa
talker.grammar.rar


* Stigmata slaps Segosa around a bit with a large trout.


Bah! It was ZIP first but when I updated I did RAR by accident :$
The previous sentence is false. The following sentence is true.
08-19-2004 07:13 PM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On