Shoutbox

[Update (July 10 2007)] ReadThis 2.07 - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Update (July 10 2007)] ReadThis 2.07 (/showthread.php?tid=70857)

[Update (July 10 2007)] ReadThis 2.07 by Jesus on 01-20-2007 at 03:29 AM

Hello all,

This script displays a toast message when you close a conversation too fast after receiving a message.
You can control the settings of the script through the settings window found in the ReadThis entry in the Plus! menu in your contact list.
The script supports the following commands:

  • /rtAbout - opens the about window
  • /rtOff - disables ReadThis toasts
  • /rtOn - enables ReadThis toasts
  • /rtSettings - opens the settings window

Please let me know if you find anything unusual so I can fix it.

Thanks in advance,
Jesus


________________________________________________________

Changes in this version (2.07):
-Fixed: Commands didn't work.

Changes in version (2.06):
-Fixed: StuffPlug's timestamp was shown on toasts if the contact has a chat-only name.

Changes in version (2.03):
-Fixed: Settings weren't always checked properly when receiving a message.
-The script is now compatible with StuffPlug 3 timestamps.

Changes in version (2.02):
-Fixed: Script generated an error when initialized without being logged in, though not on messenger startup.

Changes in version (2.01):
-Fixed: Cancel button on the preferences window saved the "Enable Toasts for:" setting

Changes in version (2.0):
-All message types in OnEvent_ChatWndReceiveMessage are now supported and can be individually turned on and off
-The commands /rtToastTime and /rtNickLength have been removed, these settings can still be changed through the settings window
-GUI improvements

Changes in version (1.5):
-Settings are now stored per account
-Minor improvement in the interface (not all characters were shown completely)
________________________________________________________

Known bugs:
-Toasts can not be clicked if the contact uses a StuffPlug 3 chat-only name in a multi-convo. (Confirmed, If anyone knows a fix please let me know)
-Sometimes a toast shows your own last message. (Confirmed, but I can't reproduce)Fixed? let me know please!!
RE: [Re-release] ReadThis 1.23 by Rolando on 01-20-2007 at 03:32 AM

I love this script. I didnt know it existed before it got announced as a winner, I'm using it now :p


RE: [Re-release] ReadThis 1.23 by absorbation on 01-20-2007 at 04:08 PM

Great script, great idea. It's great to see a simple script come together so professionally, hence I don't have any suggestions for it :).


RE: [Re-release] ReadThis 1.23 by Jesus on 01-20-2007 at 05:11 PM

well, thanks for the compliments :)

There still are no known bugs, so unless anyone finds one, this will be the version that will be shipped with the special MP!L release.


RE: [Re-release] ReadThis 1.23 by Jesus on 01-22-2007 at 08:11 AM

*bump*

anyone??


Or is there really not a single bug left in the script??
(sounds unlikely to me)



sorry for the double post, I felt the urge to bump the thread ;)


RE: [Re-release] ReadThis 1.23 by vikke on 01-22-2007 at 11:18 AM

Great script!
I can't find any bugs, so enjoy your work :).
You could make this work with Nudges, Action Text etc (if it does already, just ingore :P), if you'll need something new.


RE: [Re-release] ReadThis 1.23 by Jesus on 01-22-2007 at 01:31 PM

Hey vikke,
thanks for your suggestion, nudges and action texts are indeed not yet supported. I'll look into that tonight, but it shouldn't be that big a problem.


RE: [Re-release] ReadThis 1.23 by vikke on 01-22-2007 at 01:55 PM

Go for it! I'm waiting (h)


RE: [Update] [Re-release] ReadThis 1.5 by Jesus on 01-22-2007 at 04:43 PM

Just posted an update, not that much has changed this time, but more is on it's way.

The action messages and nudges are a bit more complicated than I thought at first. The problem is that xniff doesn't "know" which window is receiving the action message/nudge. I could fix it the dirty (and possibly easiest) way by just assuming that all the convo's containing a contact with the specified email receive the message. But first I want to take a look at the negative side-effects of that method and compare it to other ways of working around this problem.
Suggestions are welcome, ofcourse ;)


RE: [Update] [Re-release] ReadThis 1.5 by vikke on 01-22-2007 at 04:53 PM

You can add Wink, Voice Clip, Search, and Search Results, by the OnEvent_ChatWndReceiveMessage event at least. (h)


RE: [Re-Update] [Re-release] ReadThis 2.0 by Jesus on 01-27-2007 at 07:26 PM

*update* :D

All message kinds in OnEvent_ChatWndReceiveMessage are now supported.
I don't think I will add support for Nudges and Action messages as the available methods to assign one of those "messages" to a conversation window are not very reliable.
If I DO add support for those types, you will have to change a registry key to enable them.


RE: [Re-Update] [Re-release] ReadThis 2.0 by Jesus on 02-18-2007 at 04:10 PM

lol another update.
v2.01 fixes a bug in which the Cancel button on the preferences window would save the "Enable Toasts for:" setting.

Me and my beta-testers haven't found any problems yet in the latest version, but if you still find one (even if you're not sure), please let me know so that it can be fixed before the deadline for the special MP!L release in which it will be included (february 25th)

thanx,
Jesus


RE: [Update] ReadThis 2.02 by Jesus on 02-26-2007 at 03:08 PM

*update*

thanks to Patchou for reporting the bug ;)




* Jesus notices it's his 3rd post in a row in this thread already (A)


RE: [Update] ReadThis 2.02 by Eddie on 02-27-2007 at 11:29 AM

Great script :) im liking it so far, certainly comes in handy :) cheers.


RE: [Update (03-12-2007)] ReadThis 2.03 by Jesus on 03-12-2007 at 04:01 PM

...and another update...

Changes in this version (2.03):
-Fixed: Settings weren't always checked properly when receiving a message.
-The script is now compatible with StuffPlug 3 timestamps.


RE: [Update (03-14-2007)] ReadThis 2.06 by Jesus on 03-13-2007 at 11:54 PM

version 2.06 is here, get it while it's hot ;)

This version improves the handling of contacts with chat-only names and the use of timestamps.
Timestamps are now always removed from ReadThis! toasts and toasts from contacts with a chat-only name can now also be clicked, unless they are generated in a multi-convo. If anyone knows a solution for that I'd be glad to hear it.


RE: [Update (03-14-2007)] ReadThis 2.06 by Lou on 06-28-2007 at 04:08 PM

I found a bug in the script. The script will not check if it's a contact that sent the message or if it was yourself. It will popup a window even if it was yourself that sent the last message.

You might also be interested in the fact that I posted about it over at Messenger Stuff ;)


RE: [Update (03-14-2007)] ReadThis 2.06 by Jesus on 07-07-2007 at 06:58 PM

I've looked into this bug, but I can't reproduce it. Neither have I found anything that may lead to the cause of the problem.

If anyone has some more info about the bug I might look into it again.


RE: [Update (03-14-2007)] ReadThis 2.06 by aNILEator on 07-07-2007 at 07:43 PM

yeah happens to me all the time, type a message hit enter then ESC a split second later it will display the message you sent in a pop up


RE: [Update (03-14-2007)] ReadThis 2.06 by Jesus on 07-10-2007 at 05:43 AM

ok, can you give me some more info like wlm/mp!l/windows version and debug output?

thanks in advance


RE: [Update (03-14-2007)] ReadThis 2.06 by prashker on 07-10-2007 at 05:47 AM

Happens to me also

SonicSam - Now with Krusty O's and Buzz Cola! says:
Windows Vista Ultimate (6.0.6000)
Windows Live Messenger 8.5.0601
Messenger Plus! Live 4.23.0.276


RE: [Update (03-14-2007)] ReadThis 2.06 by Jesus on 07-10-2007 at 06:54 AM

Hm I don't get it... Are you sure you are using the latest version of the script? (just checking:P)
your own messages shouldn't even be stored (except for the time between OnEvent_ChatWndSendMessage and OnEvent_ChatWndReceiveMessage)

Anyway, I just upgraded to WLM 8.5beta and I still can't reproduce the bug. The only thing that's still different is my windows version, but I find it hard to believe this could be a Vista related issue.
Are there any XP users experiencing this bug?

Also, debug outputs are still welcome ;)


RE: [Update (03-14-2007)] ReadThis 2.06 by prashker on 07-10-2007 at 07:04 AM

Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Function called: OnEvent_ChatWndSendMessage
Function called: OnEvent_ChatWndReceiveMessage
Function called: OnEvent_ChatWndDestroyed
Function called: OnEvent_ChatWndSendMessage
Function called: OnEvent_ChatWndReceiveMessage
Function called: OnEvent_ChatWndDestroyed


Those appeared when I entered a message and pressed escape :p.


RE: [Update (03-14-2007)] ReadThis 2.06 by scott2010_h on 07-10-2007 at 07:33 AM

The commands don't work *-)
I tried all of them

Windows XP Service Pack 2 (5.1.2600)
Windows Live Messenger 8.5.0601
Messenger Plus! Live 4.23.0.276

[Image: attachment.php?pid=835267]


RE: [Update (03-14-2007)] ReadThis 2.06 by prashker on 07-10-2007 at 07:43 AM

Oh yeah, also forgot to mention that happens also :p.


RE: [Update (03-14-2007)] ReadThis 2.06 by scott2010_h on 07-10-2007 at 07:49 AM

quote:
Originally posted by .Lou
I found a bug in the script. The script will not check if it's a contact that sent the message or if it was yourself. It will popup a window even if it was yourself that sent the last message.

Even though I couldn't reproduce the bug you might add
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin, Message, MessageKind)
{
Origin  = RemoveStamp(Origin);
if (Origin != Messenger.MyName){
blah blah code here
}
}

or well something like
RE: [Update (03-14-2007)] ReadThis 2.06 by Jesus on 07-10-2007 at 12:57 PM

lol I just found out why the commands don't work:P
I used OnEvent_ChatWndSendMessage twice :$
will be fixed in the next version :)

quote:
Originally posted by scott2010_h
Even though I couldn't reproduce the bug
hmmm, this only raises my suspicion that this problem is Vista related. I still don't know how though...

quote:
you might add

(code like text block)

or well something like

Fact is, I already implemented some code to prevent the toasts from popping up your own messages. It might be related to the commands problem as I used OnEvent_ChatWndSendMessage in that part of the code too.

I just uploaded version 2.07, please tell me if this fixes the problems.
RE: [Update (July 10 2007)] ReadThis 2.07 by Winky on 07-10-2007 at 05:16 PM

Nice script :D


RE: [Update (July 10 2007)] ReadThis 2.07 by Archonn on 09-10-2007 at 11:06 AM

You say you've uploaded it to 2.07, but it still looks like 2.06.

http://www.msgpluslive.net/scripts/view/187-ReadThis/

And i cant get the commands to work with that version. (Vista)


RE: [Update (July 10 2007)] ReadThis 2.07 by warmth on 01-11-2009 at 07:38 AM

this script needs to be updated :P after the new release... maybe an interface for settings would be nice too ;) and support unicode in display names...

code:
El script está iniciándose
El script está cargado y listo
Función llamada: OnEvent_Initialize
Función llamada: OnEvent_Signin
Función llamada: OnEvent_ChatWndCreated
Función llamada: OnEvent_ChatWndReceiveMessage
Función llamada: OnEvent_ChatWndCreated
Función llamada: OnEvent_ChatWndCreated
Función llamada: OnGetScriptMenu
Función llamada: OnGetScriptMenu
Función llamada: OnGetScriptMenu
Función llamada: OnEvent_ChatWndDestroyed
Error: 'Chat[...].2' es nulo o no es un objeto (código: -2146823281).
       Archivo: ReadThis.js. Línea: 138.
La función OnEvent_ChatWndDestroyed devolvió un error. Código: -2147352567
Función llamada: OnEvent_ChatWndDestroyed
La función OnEvent_ChatWndDestroyed devolvió un error. Código: -2147352567
Función llamada: OnEvent_ChatWndDestroyed
Error: 'Chat[...].2' es nulo o no es un objeto (código: -2146823281).
       Archivo: ReadThis.js. Línea: 138.
La función OnEvent_ChatWndDestroyed devolvió un error. Código: -2147352567
Función llamada: OnGetScriptMenu