What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » event day change

event day change
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: event day change
Hello Suxsem,

In fact, using a timer, which is defined by MsgPlus::AddTimer is the only solution to this. Within the OnEvent_Timer callback function, you would have to check if the timer ID is the one for the date timer, then create a Date object, check if the day has changed since the last execution, and then re-add the timer. Also store the current date in registry, using the WScript.Shell object and its RegWrite method, so the next time the callback is called by the timer event, you can compare the current with the stored date.

If you need details on any of these steps, just ask. :)
Regards,
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
05-13-2008 12:45 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
event day change - by Suxsem on 05-13-2008 at 12:34 PM
RE: event day change - by mynetx on 05-13-2008 at 12:45 PM
RE: event day change - by Suxsem on 05-13-2008 at 12:55 PM


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