What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Download progress?

[Help] Download progress?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Help] Download progress?
quote:
Originally posted by SmokingCookie
However, Microsoft has been so nice not to write an easy function to detect progresses :S .

just some quick thoughts without checking things first:

I very much doubt that there is an API like that which shows how much percent/ratio is completed. What maybe might exist is a callback function which reports back how many bytes have been saved so far or something.

But:
- You can't use such callbacks in Messenger Plus! anyways since they will be more than likely asynchronous callbacks.
- You still need to know the size of the complete file in order to be able to show a progress bar (which is always in the form of a ratio: x out of y, or x green/blue bars out of a total of y bars).

What you could do instead is showing a 'busy' indicator to the user. In that way the user still wont be able to see how much longer it will take, but he would be able to see that the script is still busy downloading. As a bonus you could also show the amount of bytes already downloaded, which is another good indication that the script is still busy doing usefull stuff instead of being in a dead-loop or been froozen.

This post was edited on 07-01-2008 at 09:39 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-01-2008 09:33 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Download progress? - by SmokingCookie on 07-01-2008 at 02:12 PM
RE: [Help] Download progress? - by Basilis on 07-01-2008 at 02:15 PM
RE: [Help] Download progress? - by mynetx on 07-01-2008 at 02:18 PM
RE: [Help] Download progress? - by SmokingCookie on 07-01-2008 at 02:19 PM
RE: [Help] Download progress? - by CookieRevised on 07-01-2008 at 09:33 PM
RE: [Help] Download progress? - by SmokingCookie on 07-02-2008 at 07:42 AM
RE: [Help] Download progress? - by CookieRevised on 07-02-2008 at 06:08 PM
RE: [Help] Download progress? - by Matti on 07-02-2008 at 06:16 PM
RE: [Help] Download progress? - by SmokingCookie on 07-02-2008 at 07:26 PM
RE: [Help] Download progress? - by CookieRevised on 07-02-2008 at 07:39 PM
RE: [Help] Download progress? - by SmokingCookie on 07-02-2008 at 07:46 PM
RE: [Help] Download progress? - by Eljay on 07-02-2008 at 07:53 PM
RE: [Help] Download progress? - by CookieRevised on 07-02-2008 at 08:11 PM
RE: [Help] Download progress? - by Eljay on 07-02-2008 at 08:16 PM
RE: [Help] Download progress? - by SmokingCookie on 07-03-2008 at 07:51 AM
RE: [Help] Download progress? - by CookieRevised on 07-03-2008 at 11:44 PM
RE: RE: [Help] Download progress? - by SmokingCookie on 07-04-2008 at 07:28 AM
RE: [Help] Download progress? - by Matti on 07-04-2008 at 08:58 AM
RE: [Help] Download progress? - by mynetx on 10-01-2008 at 09:41 AM
RE: [Help] Download progress? - by CookieRevised on 10-04-2008 at 08:51 AM


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