Shoutbox

UNeed Script - 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: UNeed Script (/showthread.php?tid=70877)

UNeed Script by Mario Achkar on 01-20-2007 at 05:14 PM

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/


RE: UNeed Script by damianz on 01-23-2007 at 04:14 AM

i wanna know how to change the leanguage of the speech in this scritp cuz i got the spanish speech that i use in smartbutler but the script seems better so, i ask if some one (the maker) can put the spanish speech into it... i got one made for L&H


RE: UNeed Script by taylan on 04-01-2007 at 07:17 PM

[size=2]Hi mario . I installed your script.I want to steal display pictures , I dont know why but it doesnt steal all pictures in my contact list. Another question is how can I enable speech in english. thanx anyway


RE: UNeed Script by Anonymous1000 on 07-28-2007 at 06:54 PM

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


Any ideas?I'm having problems with the IPGet script too which also mentions a .js. file having an error.Hopefully if someone has an idea with what's going on it will fix both scripts at once.


RE: UNeed Script by CookieRevised on 07-30-2007 at 06:45 PM

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.
RE: UNeed Script by Nikayah on 05-07-2008 at 11:39 PM

The script runs fine, but I've found a small problem. I was reading through the script, and saw the part where it changes [FirstTime]True[/FirstTime] to [FirstTime]False[/FirstTime] so i looked in my config.ini file and it was set to true although I had never once gotten the popup first time window. So I opened the debug window for UNeed and I saw these errors.

code:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: 'fso' is undefined (code: -2146823279)
       File: UNeed.js. Line: 40.
Function OnEvent_Initialize returned an error. Code: -2147352567

I am running Vista Ultimate x64 if that helps at all