Sign in to follow this  
Followers 0
TNguyen

How to show Status Yahoo Messenger?

5 posts in this topic

$nick = "hoangtuera"; yahoo id
$text = "Hello AutoIt"; status ym

$convert = StringToBinary($text) 

RegWrite("HKEY_CURRENT_USER\Software\yahoo\pager\profiles\"&$nick&"\Custom Msgs", "1",  "REG_SZ", $text)
RegWrite("HKEY_CURRENT_USER\Software\yahoo\pager\profiles\"&$nick&"\Custom Msgs", "1_bin",  "REG_BINARY", $convert)
RegWrite("HKEY_CURRENT_USER\Software\yahoo\pager\profiles\"&$nick&"\Custom Msgs", "1_DND",  "REG_DWORD", 0x00000000)
#CS If you busy  
RegWrite("HKEY_CURRENT_USER\Software\yahoo\pager\profiles\"&$nick&"\Custom Msgs", "1_DND",  "REG_DWORD", 0x00000001)
#CE

I want to show status when done.

F1, Bro !

Share this post


Link to post
Share on other sites



Here it's from a script of mine just change the variables to whatever you want

Func SetStatus()
$read=RegRead("HKEY_CURRENT_USER\SOFTWARE\Yahoo\pager\profiles\" & $user & "\Custom Msgs", "1")
$status = GuiCtrlRead($sts) & $send
$hex=_StringToHex($status)
RegWrite("HKEY_CURRENT_USER\SOFTWARE\Yahoo\pager\profiles\" & $user & "\Custom Msgs", "5_bin", "REG_BINARY", $hex & "00")
RegWrite("HKEY_CURRENT_USER\SOFTWARE\Yahoo\pager\profiles\" & $user & "\Custom Msgs", "5", "REG_SZ", $status)
RegWrite("HKEY_CURRENT_USER\SOFTWARE\Yahoo\pager\profiles\" & $user & "\Custom Msgs", "5_DND", "REG_DWORD", $bizi)
$handle = WinGetHandle("Yahoo! Messenger","")
PostMessage($handle, "0x111", "0x188", "0")
EndFunc

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

$handle = WinGetHandle("Yahoo! Messenger","") 
PostMessage($handle, "0x111", "0x188", "0")

What is PostMessage() ?

Error: Unknown function PostMessage() <_<

Edited by TNguyen

Share this post


Link to post
Share on other sites

$handle = WinGetHandle("Yahoo! Messenger","")

PostMessage($handle, "0x111", "0x188", "0")

I don't known: 0x111? 0x188?

Can u help me? <_<

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

sorry here is the function

Func PostMessage($hWnd, $msg, $wParm, $lParm)
Return DllCall("user32.dll", "int", "PostMessage","hwnd", $hWnd, "int", $msg, "int", $wParm, "int", $lParm)
EndFunc
Edited by Kreatorul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0