Preventing scripts from installing or running - 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: Preventing scripts from installing or running (/showthread.php?tid=72243) Preventing scripts from installing or running by Weyzza on 03-02-2007 at 06:46 AM
Is it possible to prevent scripts from installing or running when the required version of WLM or Plus! is not satisfied? RE: Preventing scripts from installing or running by Thor on 03-02-2007 at 06:59 AM
I think that is a great idea, it would help the problems with scripts that aren't updated yet for newer and older versions. RE: Preventing scripts from installing or running by Felu on 03-02-2007 at 07:25 AM Nice idea and you can do this in a script itself . You can check Plus!'s version through a script using MsgPlus.Version. If its less than 4.20, don't run the script and tell about the latest version of Plus! available. RE: Preventing scripts from installing or running by Weyzza on 03-02-2007 at 07:32 AM
quote:How? I cannot think of a clean way to do that. RE: Preventing scripts from installing or running by Felu on 03-02-2007 at 07:47 AM
quote:don't run the features ? Like if the version is below 4.20 write a value like enable or disable in the registry. Do a check within each function or something like that . If its only for the updater, then you can Download the file is the version is above 4.20 else tell the user to download the update and the latest version of Plus! aswell. RE: Preventing scripts from installing or running by markee on 03-02-2007 at 09:07 AM I have done something similar to this in Message Customizer! Live, but because of time issues, I just have it open the download page for MP!L to try and give the person the idea of what is needed. Maybe in a future version i will do something a little better. RE: Preventing scripts from installing or running by -dt- on 03-02-2007 at 10:59 AM
In Now Playing for the DownloadFile issue i just do code: RE: Preventing scripts from installing or running by bigbob85 on 03-02-2007 at 03:19 PM
Why not RE: Preventing scripts from installing or running by Ezra on 03-02-2007 at 03:38 PM
quote: Isn't it possible to just use this: code: RE: RE: Preventing scripts from installing or running by CookieRevised on 03-03-2007 at 01:58 AM
quote:nope.... If the Plus! function DownloadFile exists (thus from build 4.20.262 onwards), this will generate an error. Plus! objects aren't the normal JScript objects, they work differently. |