What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help: How to write code that hides system tray icon

Help: How to write code that hides system tray icon
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Help: How to write code that hides system tray icon
quote:
Originally posted by Black_Ice
Like making it revert back to ur status to what it was before it went into lock.
You shouldn't tamper with that as Plus! itself is responsible for setting and resetting your status when you lock/unlock messenger.

Also seeing your script, I really don't get why:
1) You use a timer to get the status 2 seconds after initialization and sign in. It makes no sense.
2) What you're trying todo with "var Status = DataBloc.ReadString(40);" DataBloc doesn't even exist in that function and it isn't declared anywhere
3) EDIT: "!===" isn't a valid comparisson operator.
4) EDIT: "False" isn't a valid boolean.

5) Don't change the comments I added. What you change it to is wrong:
quote:
your altered comments
// Just some helper function to get some icon
// Invisible window has a space in the system tray (like an invisible icon)
function GetMSNHiddenWindowIcon() {
The invisible window has not a space in the system tray:
1) the window will not add any space to the tray.
2) the window itself does have an icon. Which is exactly the whole point of that comment and that function.
So please leave the comments intact, or at least don't add wrong stuff:
quote:
original comments
// Just some helper function to get some icon
// (who knew that hidden window had an icon :) dodgy MS people adding an icon to an always invisible window :D)
function GetMSNHiddenWindowIcon() {



All you need is my code and implement it like Matty showed. Messenger Plus! itself will reset your status after an unlock anyways (if you have set it so to do this in the Plus! preferences).



------

To make a scriptpack there are some rules you need to apply to:
1) do not save your files in a subdirectory inside the zipfile (reason why your scriptpack doesn't work)
2) the scriptInfo.xml file must be in unicode (you did that) and need some basic xml headers (you didn't do that) <= this will not make your scriptpack not work, but it is not good practice what you did.

Read the information regarding scriptpacks in the Plus! Scripting Help file.

This post was edited on 08-19-2006 at 12:01 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-19-2006 09:12 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help: How to write code that hides system tray icon - by Black_Ice on 06-29-2006 at 02:08 AM
RE: Help: How to write code that hides system tray icon - by rob_botch on 06-29-2006 at 09:33 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 06-29-2006 at 09:41 AM
RE: Help: How to write code that hides system tray icon - by rob_botch on 06-29-2006 at 09:43 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 06-29-2006 at 09:45 AM
RE: Help: How to write code that hides system tray icon - by rob_botch on 06-29-2006 at 09:46 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 06-29-2006 at 09:47 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-13-2006 at 04:21 AM
RE: Help: How to write code that hides system tray icon - by matty on 08-13-2006 at 04:45 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-13-2006 at 08:51 AM
RE: RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-13-2006 at 09:26 PM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-14-2006 at 01:18 PM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-14-2006 at 09:40 PM
RE: Help: How to write code that hides system tray icon - by hmaster on 08-14-2006 at 10:04 PM
RE: Help: How to write code that hides system tray icon - by ecion on 08-14-2006 at 10:39 PM
RE: Help: How to write code that hides system tray icon - by matty on 08-15-2006 at 01:18 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 07:59 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 11:12 AM
RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-15-2006 at 11:14 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 11:42 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 11:44 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 11:45 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 11:47 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 11:48 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 11:49 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 12:00 PM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 12:03 PM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-15-2006 at 12:04 PM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-15-2006 at 12:13 PM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-16-2006 at 08:12 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-17-2006 at 10:56 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-17-2006 at 11:06 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-17-2006 at 11:07 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-17-2006 at 11:10 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-17-2006 at 11:12 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-17-2006 at 11:19 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-17-2006 at 11:20 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-17-2006 at 11:23 AM
RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-19-2006 at 09:12 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-19-2006 at 09:17 AM
RE: RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-19-2006 at 09:31 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-19-2006 at 09:47 AM
RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-19-2006 at 10:35 AM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 08-19-2006 at 10:41 AM
RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-19-2006 at 11:52 AM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-19-2006 at 01:22 PM
RE: RE: Help: How to write code that hides system tray icon - by CookieRevised on 08-19-2006 at 01:47 PM
RE: Help: How to write code that hides system tray icon - by shrav/oo7` on 08-19-2006 at 01:53 PM
RE: Help: How to write code that hides system tray icon - by Black_Ice on 01-22-2007 at 01:00 PM


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