AOL Instant Messenger (AIM) Hyperlink Command Codes

Posted July 7, 2004 by AlexTheBeast in Instant messaging

This tech-recipe contains a listing of a few known hyperlink commands for driving AIM.


Users can use hyperlinks to drive several features of AIM. These codes can be used to create shortcuts on your desktop which open AIM in the manner you wish. Likewise, if you want users to be able to direct you to their buddy list from your web page or email, these codes are useful.

If you plan to use these commands in shortcuts on your system, use them exactly as listed below. If you are going to use them on a web page, use them in standard hyperlink format.

To open a new IM window, use the following:
aim:goim

To open a new IM window with a screen name, use the following:
aim:goim?screenname=SCREENNAME

To chat with an AOL bot named AOLBuddy, use the following:
<a href= aim:goIM?screenname=AOLBuddy>Chat with AOLBuddy</a>

The following is the example above with HTML tags:
Chat with AOLBuddy

To open new IM window with a screen name and a message, use the following:
aim:goim?screenname=SCREENNAME&message=MESSAGE

The following is an example that opens with the WallStreetJournal Bot (WSJ) and sends it a help message. This can be used to display the bot menu with fewer keystrokes:

<a href= aim:goIM?screenname=WSJ&message=help>Send "Help" to WSJ Bot</a>

The following is the example above with HTML tags:
Send “Help” to WSJ Bot

To grab shared files from a screen name, use the following:
aim:getfile?screenname=SCREENNAME

To open a chat room, use the following:
aim:gochat?roomname=CHATROOMNAME

To add screen name automatically to the “Add Buddy” window, use the following:
aim:addbuddy?screenname=SCREENNAME

To add screen name and group name automatically to the “Add Buddy” window, use the following:
aim:addbuddy?screenname=SCREENNAME&groupname=GROUPNAME

The Conversation

Follow the reactions below and share your own thoughts.