Shoutbox

[RELEASE] Block Contacts 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: [RELEASE] Block Contacts Script (/showthread.php?tid=69290)

[RELEASE] Block Contacts Script by Grue on 12-09-2006 at 09:33 AM

Hi,
This is my first script so hopefully it will work. This is for people who have a group of contacts that they regularly like to block and unblock.

There are 3 menu items. One is to block the list of emails. The second is to unblock the list of emails. The last is to edit the email addresses that you would like to block/unblock.

Its a simple script but I find it useful.

Thanks to all those whose code I looked at and learned from. Also thanks to volv and his module which I used to create the menu.


RE: [RELEASE] Block Contacts Script by Felu on 12-09-2006 at 10:02 AM

Debug Window

quote:
Error: unknown.
       Line: 86. Code: -2147024894.
Function OnEvent_MenuClicked returned an error. Code: -2147352567
Line 86
code:
new ActiveXObject("WScript.Shell").Run("%windir%\\notepad.exe " + MsgPlus.ScriptFilesPath+"\\emails.txt");
Use
code:
new ActiveXObject("WScript.Shell").Run("notepad.exe " + MsgPlus.ScriptFilesPath+"\\emails.txt");
or
code:
new ActiveXObject("WScript.Shell").Run(MsgPlus.ScriptFilesPath+"\\emails.txt");
instead.
RE: RE: [RELEASE] Block Contacts Script by Grue on 12-09-2006 at 05:42 PM

quote:
Originally posted by -!Felu!-
Debug Window
quote:
Error: unknown.
       Line: 86. Code: -2147024894.
Function OnEvent_MenuClicked returned an error. Code: -2147352567
Line 86
code:
new ActiveXObject("WScript.Shell").Run("%windir%\\notepad.exe " + MsgPlus.ScriptFilesPath+"\\emails.txt");
Use
code:
new ActiveXObject("WScript.Shell").Run("notepad.exe " + MsgPlus.ScriptFilesPath+"\\emails.txt");
or
code:
new ActiveXObject("WScript.Shell").Run(MsgPlus.ScriptFilesPath+"\\emails.txt");
instead.


Hmmm, i didn't get that error but i fixed the code and the new version is attached on the first post. Thanks
RE: [RELEASE] Block Contacts Script by MX-G on 12-09-2006 at 05:44 PM

i get an error when i'm trying to install it


RE: [RELEASE] Block Contacts Script by Oxy on 12-09-2006 at 05:46 PM

quote:
Originally posted by MX-G
i get an error when i'm trying to install it
What error? what does it say?
RE: RE: [RELEASE] Block Contacts Script by Grue on 12-09-2006 at 05:46 PM

quote:
Originally posted by MX-G
i get an error when i'm trying to install it


Yeah sorry, that is fixed now. Redownload and it should work.
RE: [RELEASE] Block Contacts Script by foaly on 12-09-2006 at 06:01 PM

my version of this
http://www.msgpluslive.nl/scripts/view/182-Group-blocking/
was added to the script database yesterday...
and I'm getting this error when clicking the menu:

code:
Functieaanroep: "OnEvent_MenuClicked"
> Fout gedetecteerd in lijn 86: onbekende fout.
  (Code: -2147024894)


RE: [RELEASE] Block Contacts Script by Grue on 12-09-2006 at 06:11 PM

quote:
Originally posted by foaly

and I'm getting this error when clicking the menu:
code:
Functieaanroep: "OnEvent_MenuClicked"
> Fout gedetecteerd in lijn 86: onbekende fout.
  (Code: -2147024894)



Oh, oops. It should work now. Thanks for reporting
RE: [RELEASE] Block Contacts Script by bositman on 12-14-2006 at 05:46 PM

Hi foaly,great script,got it working all right but got a major problem: whenever the script is active i cant send any custom sound! Anyone else experiencing this?

p.s. Talking about this one:
http://www.msgpluslive.nl/scripts/view/182-Group-blocking/


RE: [RELEASE] Block Contacts Script by foaly on 12-14-2006 at 06:46 PM

quote:
Originally posted by bositman
Hi foaly,great script,got it working all right but got a major problem: whenever the script is active i cant send any custom sound! Anyone else experiencing this?

p.s. Talking about this one:
http://www.msgpluslive.nl/scripts/view/182-Group-blocking/

it is not very nice to hijack this thread so please send other problems to my mail...
but try downloading the latest version from here that should fix the problem...
RE: [RELEASE] Block Contacts Script by namooth on 12-30-2006 at 02:41 PM

hmm, doesn't work for me. when i try to mark a group, press on the Messenger Plus logo and select groupblocking > block > all . it blocks ALL of my contacts.
?

Edit: just got it, i need to rebuild the groups