Yahoo Messenger installs a protocol on windows machine
"ymsgr:". We can issue many commands to the Yahoo Messenger
application through this protocol.
To keep a link on web page that will open a window to send IM we can keep the link as
<a href="ymsgr:sendIM?tusharvjoshi">Send Message through Yahoo Messenger</a>
which will look like Send Message through Yahoo Messenger.
Here tusharvjoshi is my yahoo ID and can be replaced by any valid Yahoo ID.
When user clicks on this link the following window will appear as if it has been started from the Yahoo Messegner window