What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help Needed with script

Help Needed with script
Author: Message:
crank
Full Member
***

Avatar
Failed to come back here :(

Posts: 304
Reputation: 17
34 / Male / Flag
Joined: Mar 2004
Status: Away
O.P. Help Needed with script
I'm getting crazy, i never really was excelletn at Jscript and for that reason i am stuck now. I have been working on a script that would do:
[list=1]
[*]Automaticly add random or static gradients to your messages
[*]Randomly add a single color to you messages
[*]Per contact options
[*]All contact options
[*]Saving in registry
[/list]

Most of that already works, but i can't make the GUI to work properly.
One of the things i'm strugling with is that i can read a reg key but if it doesn't exist i get an error, so i'm using a txt to save which contacts have custom settings in the regisrty, and that sucks.
I keep on getting errors so i'm looking for someone to help me.

P.S. this is a tribute to Finn's xfade plugin hence the name FadeX.
I haven't been active here in ages.
If you're wondering who i am, read my reputations. I used to make plugins, skins and spam the IRC channels here back in the good old days before Windows Live.
07-02-2006 11:50 AM
Profile E-Mail PM Web Find Quote Report
kender
Junior Member
**

Avatar
Kender is not a thief!

Posts: 16
47 / Male / –
Joined: Sep 2005
RE: Help Needed with script
If i'm not wrong, in JScript there's a function called "try", that you can use with "catch" to get error and make your switches..

http://www.w3schools.com/js/js_try_catch.asp
[Image: dyn.png]
07-02-2006 12:02 PM
Profile E-Mail PM Find Quote Report
crank
Full Member
***

Avatar
Failed to come back here :(

Posts: 304
Reputation: 17
34 / Male / Flag
Joined: Mar 2004
Status: Away
O.P. RE: Help Needed with script
I'll try that thanks :)

Edit:
It fixed all the registry key errors, so thanksx1000 :p
now i got got a function that always says that a PlusWnd isn't defined whilst it is, if i finish that i can finish the script.

This post was edited on 07-02-2006 at 12:31 PM by crank.
I haven't been active here in ages.
If you're wondering who i am, read my reputations. I used to make plugins, skins and spam the IRC channels here back in the good old days before Windows Live.
07-02-2006 12:04 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Help Needed with script
quote:
Originally posted by crank
a function that always says that a PlusWnd isn't defined whilst it is
Check the scope of the variable: scoping issues are a major source of bugs ;)
[Image: spartaafk.png]
07-02-2006 03:07 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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