RE: Help: How to write code that hides system tray icon
Just a question i dont change my status when i lock messenger and i dont have that personalised status pop-up box enabled either. is there some glitch that i need to clear up in the script if i use these options? Another thing is there are these lines in cookies script
// Main stuff: Change the tooltip to whatever you want
function ChangeTooltip(newtext) {
// Create the datablock structure (v2)
var NOTIFYICONDATA = Interop.Allocate(488);
// Fill in some needed parameters
with (NOTIFYICONDATA) {
WriteDWORD(0, NOTIFYICONDATA.Size); //DWORD cbSize
WriteDWORD(4, GetMSNHiddenWindowHandle()); //HWND hWnd
WriteDWORD(8, 40046); //UINT uID
WriteDWORD(12, NIF_TIP); //UINT uFlags
WriteString(24, newtext.substring(0, 127), false); //WCHAR szTip[128]
it says change the tooltip to whatever you want, what if i dont want to change it, do I leave it as it is? It also says to fill in some needed parameters, what do i need to fill in and how do i do it. if there is also some other manual editing i need to do plz can you tell me. i am a total newbie to scripting but i get the general idea most of the time.
|