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

Progresbar
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Progresbar
Well, first you need to create one with
code:
MsgPlus.AddTimer("MyTimer", 500);
This will create a timer called MyTimer with an interval of 500 milliseconds.

Then, you need an event:
code:
function OnEvent_Timer(sTimerId) {
if(sTimerId == "MyTimer") {
   //Do progress bar stuff here
   MsgPlus.AddTimer("MyTimer", 500); //Repeat
}
}
This will create a "timed loop", and when you're done with it, you need to stop the timer with MsgPlus.CancelTimer("MyTimer") and make sure that MsgPlus.AddTimer doesn't get called again. :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-16-2007 10:01 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Progresbar - by Drakal on 09-15-2007 at 05:10 PM
RE: Progresbar - by Matti on 09-15-2007 at 05:41 PM
RE: Progresbar - by Drakal on 09-15-2007 at 06:00 PM
RE: Progresbar - by Flash on 09-15-2007 at 11:28 PM
RE: Progresbar - by Matti on 09-16-2007 at 06:37 AM
RE: Progresbar - by Drakal on 09-16-2007 at 08:39 AM
RE: Progresbar - by Matti on 09-16-2007 at 10:01 AM
RE: Progresbar - by Drakal on 09-16-2007 at 12:02 PM
RE: Progresbar - by Matti on 09-16-2007 at 05:25 PM
RE: Progresbar - by Drakal on 09-17-2007 at 01:43 PM
RE: Progresbar - by Matti on 09-17-2007 at 05:05 PM
RE: Progresbar - by Drakal on 09-17-2007 at 08:31 PM
RE: Progresbar - by Matti on 09-18-2007 at 04:54 PM
RE: Progresbar - by Drakal on 09-18-2007 at 07:28 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