As this is way too complicated with BAS and no one has an idea how to solve it I simply built my needed bot with Zennoposter and finished it in no time.
thread number according to total lines of txt
-
Currently I have to specify how many accounts are in the txt file.


I want to make it dynamically detect total lines of the txt and set it as Thread Number, so that I don't have to specify "Account" field anymore, I just want to specify the txt file and make it automatically calculate how many threads to run according to how many lines there is in the TXT file.
Is that possible?
-
@swyzz123 said in thread number according to total lines of txt:
Currently I have to specify how many accounts are in the txt file.
I want to make it dynamically detect total lines of the txt and set it as Thread Number, so that I don't have to specify "Account" field anymore, I just want to specify the txt file and make it automatically calculate how many threads to run according to how many lines there is in the TXT file.
Is that possible?
yep https://community.bablosoft.com/topic/3521/лайфхаки-bas/27