Jump to content
Sign in to follow this  

_SetYahooMessengerStatus UDF

Recommended Posts



I was experimenting with Yahoo! Messenger and AutoIT today, so i came up with this. I think it may be useful for status changer programs, like Y!Amp, for example. Also, post any suggestions/improvement ideas.

; Name...........: _SetYahooMessengerStatus
; Description ...: Sets a status message to an opened Y!M Window
; Syntax.........: _SendMessage($sStaus)
; Parameters ....: $sStatus      - Status text/message
; Return values .: Success       - 1 and sets @error to 0
;                  Failure       - 0 and sets @erro to :
;                - 1, if Y!M execuatble is not found
;                - 2, if Y!M Window or Process is not found running
; Author ........: Iuli
; Example .......; Yes


#include <SetYahooMessengerStatus.au3>

$STR="Hello world!"
Switch @error
    Case 1
        ConsoleWrite("- Y!M Executable was not found." & @CRLF)
    Case 2
        ConsoleWrite("- Y!M Window or Process is not running." & @CRLF)
    Case False
        ConsoleWrite('+> Status modified to: "' & $STR & '"' & @CRLF)



Have fun !

[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.