Hi guys..
i scripted a tool that sets my status to IDLE (NOT away) but it doesn't work. It just does nothing. Here it is:
code:
function OnEvent_Initialize(MessengerStart)
{
}
function OnGetScriptMenu(Location)
{
var ScriptMenu = "<ScriptMenu>";
ScriptMenu += "<MenuEntry Id=\"StatusIdle\">";
ScriptMenu += "Set Status Idle";
ScriptMenu += "</MenuEntry>";
ScriptMenu += "</ScriptMenu>";
return ScriptMenu;
}
function OnEvent_MenuClicked(MenuItemId,Location,OriginWnd)
{
switch(MenuItemId) {
case "StatusIdle":
SetStatusIdle();
break;
}
}
function SetStatusIdle()
{
Messenger.MyStatus = "6"; //6 = Idle
}
function OnEvent_Uninitialize(MessengerExit)
{
}
I scripted this because my Live Messenger doesn't set my status to Idle after x minutes (although this function is activated)..
Thanks for your help..