How to work with accounts ??
-
Hi everyone, i am already liking bas and its simplicity . Currently making a script for youtube and its working perfect for 1 account. My problem is how to iterate through account one by one using list , file or database . What i want to acheive is
- Use a account
- log and save cookie.
3.Do operations , clear everything
4.Use another account from list, file or database ( whichever is more efficient ) and repeat the steps.
Currently i am not worried about threads . Any hint or tutorial regarding this is highly appreciated .
-
@andy231 Welcome to BAS!
I've attached a sample script & files showing a few different ways for you. You'll being using "Phrase Line" and the most used delimiter for BAS is ":". When calling from a CSV files with any of the character basic delimiters for CSV files you want to wrap the cell with quotes so it knows it's one whole one.
To achieve selecting a new list item within a while/for/foreach, you want to uncheck "Reuse Resource" which will pull a new item from the resource after setting the variable.
Let me know if this was any help to you!
Allister☯
-
@andy231 Another option is to increase script success number
And use resources system to obtain lines from files.
Here is video https://www.youtube.com/watch?v=FCfcgDX8ezk
-
@Allister Thanks for supporting English speaking users.
-
@support said in How to work with accounts ??:
@Allister Thanks for supporting English speaking users.
No problem. :) Thought I would take it up on my own. If you need anything done in English let me know.
-
@Allister @support thanks for the support !! I must say i am enjoying bas. I will go through example and try to understand more.