I am currently trying to use this code to find the steam ID:
The steam ID is contained in steam.log in the following context:Section
ClearErrors
FileOpen $0 "$PROGRAMFILES\Steam\steam.log" r
${Do}
FileRead $0 $1
${If} ${Errors}
${ExitDo}
${EndIf}
StrCpy $2 "$2$1"
${Loop}
FileClose $0
; contents should now be in $2:
MessageBox MB_OK "Contents: $\r$2"
;${StrFilter} $2 "31" "1234567890" "(){}.-" $R0
${WordFind} $2 "0:1:" "+8" $R0
MessageBox MB_OK "SteamID: $\r$R0"
SectionEnd
so you see my dilemma of trying to exclude my output to just the 55555555 after the "0:1:"CsComm Session Oct-11-2010 23:07:41.780 [2904] ReconnectThread (2904) Starting
CsComm Session Oct-11-2010 23:08:31.454 [4368] CreateSession(xxxxx,7,347)=0 attempt 1
CsComm ConnectionPool Oct-11-2010 23:08:31.851 [4368] Attempting new connection 0,87.248.222.122:27030 for 0:1:55555555
WordFind isn't filtering or excluding anything from the string which I'd like it to.
Any help would be appreciated. Thanks!