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

UNeed Script
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: UNeed Script
quote:
Originally posted by Mario Achkar
Having bugs , problems with this script? Here is the place to place your complaints ... or your "thank you"`s :D

Location:

http://www.msgpluslive.net/scripts/view/180-UNeed-Script/
The script listed there is version 1.1.
I have version 1.2 here, don't ask me where I got it (can't remember), but you might wanna update it in the scripting database.

PS: TIP: attend the code properly with tabs. Way easier to read, change and check the code in that way.

stuff like:
code:
function StealDps() {
for(var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext())
{ var Contact = e.item();
if (Contact.DisplayPicture != "") {
var oFSO = new ActiveXObject("Scripting.FileSystemObject");
oFSO.CopyFile(Contact.DisplayPicture,MsgPlus.ScriptFilesPath+"\\Dps\\"+Contact.Email+".png");
}}
MsgBox("Successfully Stolen!");
}
is extremely messy and asking for potential errors which could be avoided otherwise.
code:
function StealDps() {
        for(var e = new Enumerator(Messenger.MyContacts); !e.atEnd(); e.moveNext()) {
                var Contact = e.item();
                if (Contact.DisplayPicture != "") {
                                var oFSO = new ActiveXObject("Scripting.FileSystemObject");
                                oFSO.CopyFile(Contact.DisplayPicture,MsgPlus.ScriptFilesPath+"\\Dps\\"+Contact.Email+".png");
                }
        }
        MsgBox("Successfully Stolen!");
}
is way more readable, easier to follow and change/fix/debug...




quote:
Originally posted by Anonymous1000
This is the first script Ive tried to install and use.It says it has imported properly but it doesnt steal pics or any of the other options...

When I go to the debug screen I get this error...

Script is starting.
Script is now loaded and ready.
Function Called: OnEvent_Initialize
error: unknown (code: -2147024770)
          File: UNeed .js. Line:20
Function OnEvent_Initialize returned an error Code: -2147352567
try to reinstall the Windows Scripting Host 5.6.

This post was edited on 07-30-2007 at 06:48 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-30-2007 06:45 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
UNeed Script - by Mario Achkar on 01-20-2007 at 05:14 PM
RE: UNeed Script - by damianz on 01-23-2007 at 04:14 AM
RE: UNeed Script - by taylan on 04-01-2007 at 07:17 PM
RE: UNeed Script - by Anonymous1000 on 07-28-2007 at 06:54 PM
RE: UNeed Script - by CookieRevised on 07-30-2007 at 06:45 PM
RE: UNeed Script - by Nikayah on 05-07-2008 at 11:39 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