What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » displaying pics that are not local, can it be done?

displaying pics that are not local, can it be done?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: displaying pics that are not local, can it be done?
quote:
Originally posted by Volv
The problem with updating probably has to do with caching of the file which is being downloaded. A common work-around for this problem in MsgPlus scripts is to just append a random string/number at the end of the URL each time something is retrieved from it.
eg.
code:
var randomNum = Math.random() * 100;
MsgPlus.DownloadFile(url + "?" + randomNum, MsgPlus.ScriptFilesPath + "\\DP")

You don't want to append a random number to the url because it will fill up the users cache. Better bet is to clear the cache for the url using this code

code:
Interop.Call('wininet.dll', 'DeleteUrlCacheEntryW', www.someurl.com);
01-20-2008 06:06 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
displaying pics that are not local, can it be done? - by Sharkadder on 01-16-2008 at 05:02 PM
RE: displaying pics that are not local, can it be done? - by Jesus on 01-16-2008 at 05:13 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-16-2008 at 09:34 PM
RE: displaying pics that are not local, can it be done? - by Spunky on 01-16-2008 at 09:40 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-16-2008 at 10:35 PM
RE: displaying pics that are not local, can it be done? - by MeEtc on 01-16-2008 at 10:38 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-17-2008 at 02:35 PM
RE: displaying pics that are not local, can it be done? - by Jesus on 01-17-2008 at 07:22 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-19-2008 at 08:12 PM
RE: displaying pics that are not local, can it be done? - by Jesus on 01-20-2008 at 12:30 AM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-20-2008 at 12:43 AM
RE: displaying pics that are not local, can it be done? - by Jesus on 01-20-2008 at 02:29 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-20-2008 at 05:23 PM
RE: displaying pics that are not local, can it be done? - by Volv on 01-20-2008 at 05:38 PM
RE: displaying pics that are not local, can it be done? - by matty on 01-20-2008 at 06:06 PM
RE: displaying pics that are not local, can it be done? - by vaccination on 01-20-2008 at 07:17 PM
RE: RE: displaying pics that are not local, can it be done? - by Jesus on 01-20-2008 at 09:40 PM
RE: displaying pics that are not local, can it be done? - by vaccination on 01-20-2008 at 09:47 PM
RE: displaying pics that are not local, can it be done? - by Sharkadder on 01-20-2008 at 10:12 PM
RE: displaying pics that are not local, can it be done? - by vaccination on 01-20-2008 at 10:26 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