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

Remove script event
Author: Message:
CZFilip
New Member
*


Posts: 4
Reputation: 1
Joined: Aug 2008
O.P. Remove script event
Hi,
can I detect , when user removing script and do some code before it'll be removed? Or can I detected when remove button was clicked? Thanks for answers :) Filip
08-27-2008 09:07 AM
Profile E-Mail PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
RE: Remove script event
Hello Filip,

I don't think that you can detect such event. Just imagine a case when a malicious script would detect that and prevent its removal...
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
08-27-2008 09:14 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Remove script event
As said by mynetx, no you can't...

But why do you want to execute code when the user removes the script and what exactly is that code?

Because, if it is some cleanup stuff (eg: removing temporary files created by your script) or something like that, you should already do that in the Uninitialize() event or even in the SignOut() event.

This post was edited on 08-27-2008 at 09:34 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-27-2008 09:33 AM
Profile PM Find Quote Report
CZFilip
New Member
*


Posts: 4
Reputation: 1
Joined: Aug 2008
O.P. RE: Remove script event
No cleanup :) I had an idea for script. I saw in some scripts, that some authors want to know , how many users using their script ( so they sending some infos to their server ). So I get an idea for something as script indexing spider (when user add or remove script -> generate report about all used scripts and send it to the server -> reports = for ex. UpdateId, Version, BuildNumber from ScriptInfo.xml) . But it has a lot of problems and you never get true statistics and you never get this script to all computers ( Only way is put some code into script, which you want to index but in result it's same what authors using right now.) So it was bad idea, but thanks for answers.
08-27-2008 10:15 AM
Profile E-Mail PM 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