Sign in to follow this  
Followers 0
harmor

Makes a list of Steam games on your account

5 posts in this topic

#1 ·  Posted (edited)

#include <String.au3>
#include <array.au3>
#include <INet.au3>
local $user
$user = InputBox("Steam Username", "What is your Steam username?", "", "")
local $display
local $array
local $sHTML = _INetGetSource ("http://steamcommunity.com/id/"&$user&"/games?tab=all")
$array = _StringBetween($sHTML, "<h4>", "</h4>")
$display = _ArrayDisplay($array, "")

Update:

Changed code to use _INetGetSource() instead of _IE* since non-Windows operating systems do not have Internet Explorer installed.

Edited by harmor

Share this post


Link to post
Share on other sites



_INetGetSource()

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

_INetGetSource()

I did not know about that function.

That function would be the better choice as Linux and Macs don't have Internet Explorer.

Edited by harmor

Share this post


Link to post
Share on other sites

Linux and Macs don't have Internet Explorer.

why should that matter? autoit is only for Windows

Share this post


Link to post
Share on other sites

why should that matter? autoit is only for Windows

Call me an idiot. I wasn't thinking about that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0