This done via the Steam Protocol.
It is installed on each system that has steam installed and can be used to transmit commands to steam by creating a link that begins with
steam://. For example, shortcuts create by Steam always contain the link
Further information about all possible commands can be found here:
For changing your status you might want to utilize these commands:
Sets status as away
Sets status as busy
Sets status as looking to trade
Sets status as looking to play
Sets status as offline
Sets status as online
In case nothing happens when you activate such a link, you have to reinstall the Steam Protocol. This can be done this way:
- Click Start ▶ All Programs ▶ Accessories
- Right-click on Command Prompt and then click "Run as administrator..."
- In the command prompt, enter the following command, including quotation marks: "C:\Program Files\Steam\bin\SteamService.exe" /repair
- Note: C:\Program Files\Steam\ is the default installation directory for Steam - change this to the correct directory if you installed Steam to a different location. 64-bit systems will use Program Files (x86) instead of Program Files.
- This process will take a few minutes to complete. Once finished, the message "Steam Client Service repair completed." will appear.
- The issue may be fixed at this point, however it is recommended you reboot your computer before testing if the repair resolved the problem.