Last active
May 27, 2019 20:02
-
-
Save xPaw/ccb0ecfa0ea0b9cca2ca4badf2452053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( $args.Length -lt 1 ) | |
{ | |
"Pass in appids as arguments: 440 570 730" | |
Exit 1 | |
} | |
foreach( $AppID in $args ) | |
{ | |
# Parse appids from links | |
$AppID = $AppID -creplace '.*?/([0-9]+).*', '$1' | |
"App $AppID" | |
$env:SteamAppId = $AppID | |
Start-Process Rundll32 steam_api.dll,SteamAPI_Init -Wait | |
} | |
"Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment