@rameezkhank557
If you didn’t understand the explanation, it’s just that there’s too much to explain.
Update bas to the latest version and ask the agent to do this.
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