Just noticed that the "LastVersion" file in the profile folder, as the name suggests, gets updated when the profile is opened with (another version of) BAS e.g. from 114.0.5735.91 to 117.0.5938.63. Therefore it's not suitable for our need to determine the original version of which a profile was created.
But at least can be said what was the latest BAS version that worked with it ;)
Getting the name of the uploaded file
-
Than just take full file path from same variable without "|notreuse",
and extract just filename using string module or javascript.Guess youre doing it in a loop, so same variable that you used
with "|notreuse" will give its content without "|notreuse" in same
loop cycle. -
Nope there is no "|random". "|notreuse" is option for resources in BAS.
You can use it without "|notreuse" but its meant for use in multiple threads,
so in that case each new browser instance will use different line from resource.
It looks like you are doing it in one browser instance, so you have to use "|notreuse"
because of that.Other option is to use "File search" and read all files that neds to be
uploaded into list variable. Than you can use that list and extract needed
data (title - name of file), and upload according to data in the list, even
randomize it if needed.
