I would like to do something like this: it looks for an ID and, when it finds it, will add it next to that link.
https://steamid.io/lookup/<76561198172574287> here where these random numbers will always be, it sends the person's name with several different IDs, for example, this ID XsSnip3r this is the person's name
how to automate this
Re: how to automate this
Looks for an ID? Where?
Not enough details
Not enough details
Re: how to automate this
Looking for a log file ID when you find the random ID, send it to the website and send the person's name from that ID after sending a message box with the name
Re: how to automate this
Is there is something unique around that id,something that can be used to determine that that is the id
Maybe you can post a part of it
Maybe you can post a part of it
Re: how to automate this
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:445d3272-c700-4ffb-aeaa-c43a0fe84f20|76561198402317547
this id changes all the time 445d3272-c700-4ffb-aeaa-c43a0fe84f20
this too 76561198402317547
the text that comes before is always the same
it searches from the bottom up the first ID found sends it to the site, then sends the message box with the person's name and stops searching
this id changes all the time 445d3272-c700-4ffb-aeaa-c43a0fe84f20
this too 76561198402317547
the text that comes before is always the same
it searches from the bottom up the first ID found sends it to the site, then sends the message box with the person's name and stops searching
Re: how to automate this
I would like to do it like this, but I think it would be more difficult to search for a specific number from the bottom up and, when you find it, look for the text I sent below the number, look for the ID and send it to the website and website, send me the name of the person with a message box
Re: how to automate this
I would capture all the ID numbers in an array, then just prepend them with https://steamid.io/lookup/ and send them off the the browser.
Any other way is a fools errand and I will fight this point to the end.
Any other way is a fools errand and I will fight this point to the end.
Re: how to automate this
How are they stored in the log file?legyster wrote: ↑20 May 2020, 14:42LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:445d3272-c700-4ffb-aeaa-c43a0fe84f20|76561198402317547
this id changes all the time 445d3272-c700-4ffb-aeaa-c43a0fe84f20
this too 76561198402317547
the text that comes before is always the same
it searches from the bottom up the first ID found sends it to the site, then sends the message box with the person's name and stops searching
Is it something like
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:
What do you want to send from that
The first part after id: or the second part after the | or both
Re: how to automate this
the second part plus the two numbers are always random
this number 76561198402317547
this number 76561198402317547
Re: how to automate this
I am not sure if this is what you want
I don't know what is the proper way to reverse a list so I am looping the variable multiple times
Code: Select all
; FileRead,Log,your log file location
; lets say your log file contains this below(uncommend the line above and remove the log variable below when you set the log file path
Log =
(
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:4ewrwe272-c700-4ffb-aeaa-cewrew84f20|15
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:34eeere-c700-4ffb-aeaa-c43a0fe84f20|14
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrew-c700-4ffb-aeaa-c43a0fe84f20|13
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:rtert-c700-4ffb-aeaa-c43a0fe84f20|12
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|11
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|10
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|9
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|8
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|7
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|6
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|5
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|4
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|3
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|2
LogOnline:Mirrors: [OnlineSession] Session:GameSession Id:ewrr-c700-4ffb-aeaa-c43a0fe84f20|1
)
Loop,Parse,Log,`n
{
If A_LoopField =
Break
Else
Count := A_Index
}
Loop,% Count
{
If A_Index = 1
Stop := Count
Else
Stop := Count - A_Index
Loop,Parse,Log,`n
{
If A_LoopField =
Break
If (A_Index = Stop)
{
List .= "https://steamid.io/lookup/<" SubStr(A_LoopField,Instr(A_LoopField,"|")+1) ">`n"
Break
}
}
}
MsgBox,% List