Steam browser protocol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(steam://publisher/ + tweaks)
Line 1: Line 1:
==Commands==
There are numerous system-wide commands available that interact with [[Steam]]. All of them open up Steam if it is not open. They can either be typed into a command box (Start-> Run) or through your browser's address bar (you can normally create links to them as you would web page links). Use a [[Steam Application IDs|Steam Application ID]] in place of <id> (i.e. 211 for the Source SDK).
There are several commands available that interact with [[Steam]]. All of them open up Steam if it is not open. They can either be typed into a command box (Start-> Run) or through your browser's address bar. Use a [[Steam Application IDs|Steam Application ID]] in place of <id> (i.e. 211 for the Source SDK).
 


* '''<code>steam:<commands></code>''' This opens Steam with command line arguments, which can be found here: [[Steam Command Line Options]]{{note|If you forget the closing quote on a steam:"<command>", you will get an assertion failed error from Steam.exe/BootStrapperApp.cpp.}}
* '''<code>steam:<commands></code>''' This opens Steam with command line arguments, which can be found here: [[Steam Command Line Options]]{{note|If you forget the closing quote on a steam:"<command>", you will get an assertion failed error from Steam.exe/BootStrapperApp.cpp.}}
Line 23: Line 21:
* '''<code>steam://openurl/<url></code>''' Opens URL in default web browser.
* '''<code>steam://openurl/<url></code>''' Opens URL in default web browser.
* '''<code>steam://preload/<id></code>''' This preloads an app.
* '''<code>steam://preload/<id></code>''' This preloads an app.
* '''<code>steam://publisher/<name></code>''' Loads the specified publisher catalogue in the Store. Type the publisher's name in lowercase, e.g. <code>activision</code> or <code>valve</code>.
* '''<code>steam://purchase/<id></code>''' This opens a dialog box to buy an app from Steam.
* '''<code>steam://purchase/<id></code>''' This opens a dialog box to buy an app from Steam.
* '''<code>steam://purchase/subscription/<id></code>''' This opens up a dialog box to buy a subscription to a Steam product/service. None are available yet.
* '''<code>steam://purchase/subscription/<id></code>''' This opens up a dialog box to buy a subscription to a Steam product/service. None are available yet.
Line 33: Line 32:
* '''<code>steam://validate/<id></code>''' This validates the GCFs of an app.
* '''<code>steam://validate/<id></code>''' This validates the GCFs of an app.


==Suggestions==--[[user:TomEdwards|TomEdwards]] 08:23, 13 Sep 2006 (PDT)
==Suggested commands==
 
The following commands are community suggestions and are not presently featured in Steam:
The following commands are community suggestions and are not presently featured in Steam:


* '''<code>steam://connect/<IP or DNS name>[:port]/<password></code>'''
* '''<code>steam://connect/<IP or DNS name>[:port]/<password></code>'''

Revision as of 05:32, 14 October 2006

There are numerous system-wide commands available that interact with Steam. All of them open up Steam if it is not open. They can either be typed into a command box (Start-> Run) or through your browser's address bar (you can normally create links to them as you would web page links). Use a Steam Application ID in place of <id> (i.e. 211 for the Source SDK).

Suggested commands

The following commands are community suggestions and are not presently featured in Steam:

Restarting Steam would be simpler, and have the same effect. --TomEdwards 08:23, 13 Sep 2006 (PDT)
i'm afraid it's not that simple, see my post there http://forums.steampowered.com/forums/showthread.php?s=&threadid=485982 -- Dwarden