What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [RELEASE] Block Contacts Script

Pages: (2): « First [ 1 ] 2 » Last »
[RELEASE] Block Contacts Script
Author: Message:
Grue
Full Member
***


Posts: 120
Reputation: 6
– / Male / –
Joined: Jun 2004
O.P. [RELEASE] Block Contacts Script
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.

.plsc File Attachment: Block Contacts.plsc (2.09 KB)
This file has been downloaded 293 time(s).

This post was edited on 12-09-2006 at 06:07 PM by Grue.
12-09-2006 09:33 AM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [RELEASE] Block Contacts Script
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.
12-09-2006 10:02 AM
Profile E-Mail PM Web Find Quote Report
Grue
Full Member
***


Posts: 120
Reputation: 6
– / Male / –
Joined: Jun 2004
O.P. RE: RE: [RELEASE] Block Contacts Script
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
12-09-2006 05:42 PM
Profile E-Mail PM Find Quote Report
MX-G
Full Member
***

Avatar

Posts: 303
Reputation: 22
35 / Male / Flag
Joined: Jun 2006
RE: [RELEASE] Block Contacts Script
i get an error when i'm trying to install it
12-09-2006 05:44 PM
Profile PM Find Quote Report
Oxy
Veteran Member
*****

Avatar

Posts: 1368
Reputation: 24
30 / Male / Flag
Joined: Jul 2006
RE: [RELEASE] Block Contacts Script
quote:
Originally posted by MX-G
i get an error when i'm trying to install it
What error? what does it say?
[Image: dotlukas.gif]
12-09-2006 05:46 PM
Profile E-Mail PM Find Quote Report
Grue
Full Member
***


Posts: 120
Reputation: 6
– / Male / –
Joined: Jun 2004
O.P. RE: RE: [RELEASE] Block Contacts Script
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.
12-09-2006 05:46 PM
Profile E-Mail PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [RELEASE] Block Contacts Script
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)


This post was edited on 12-09-2006 at 06:02 PM by foaly.
12-09-2006 06:01 PM
Profile E-Mail PM Find Quote Report
Grue
Full Member
***


Posts: 120
Reputation: 6
– / Male / –
Joined: Jun 2004
O.P. RE: [RELEASE] Block Contacts Script
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
12-09-2006 06:11 PM
Profile E-Mail PM Find Quote Report
bositman
New Member
*


Posts: 2
Joined: Dec 2006
RE: [RELEASE] Block Contacts Script
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/

This post was edited on 12-14-2006 at 05:47 PM by bositman.
12-14-2006 05:46 PM
Profile E-Mail PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [RELEASE] Block Contacts Script
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...
12-14-2006 06:46 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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