Sign in to follow this  
Followers 0
Kreatorul

Change Status

4 posts in this topic

How to change the status in Yahoo Messenger using au3 comands? :P

I guess I can do this with GUICtrlSendMsg...i allready tried but i'm a noob at this first time using it :D any help? :)

Share this post


Link to post
Share on other sites



well is it only for ur self?

then u can just record the status change..

if u get my point :)


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites

Actually I don't :) What do u mean record the status change? :P I want to change the status...

Share this post


Link to post
Share on other sites

:P

i found these code from Tzackel. And I change it little bit.

Is it help.

CODE
Func ChangeYahooStatus($status)

if(Not ProcessExists("YahooMessenger.exe")) Then

MsgBox(4096,"Yahoo Messenger is closed","Please open yahoo messenger and login")

Return

Elseif WinExists("Yahoo! Messenger","YLoginWnd") Then

MsgBox(4096,"Yahoo Messenger is logged out","Please login to yahoo messenger")

Return

EndIf

$read=RegRead("HKEY_CURRENT_USER\SOFTWARE\Yahoo\pager\profiles\" & $user & "\Custom Msgs","1")

if($status<>$read) Then

$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", $busy)

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

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

EndIf

EndFunc

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