If you have multiple browser threads then you can add a date column in database for each account. When some action is finished then you can add 30 minutes to the date now and add it to the database of that particular account. Then add a check condition in the beginning of the thread which checks if the current date is less or greater than the database date. If it is greater that means there is still time left and then close that thread without opening browser.
How to do this? Do list search, if first 5 numbers are less than 4 does it call a function.
-
@ivdkop Выполнить код
function check(data,threshold,step){ var flag = false; if(data.length-1<step){ return flag; } var counter = 0; for(var i=0; i<threshold; i++){ if(data[i] >= threshold){ counter++; } } if(counter==step){ flag = true; } return flag; } var data = [5 , 5, 7, 7, 10, 9, 6, 8, 0, 1] [[FLAG]] = check(data,5,5)
-
If you want to search for the first 5 numbers, just separate the first 5 numbers, then do the comparison, then draw a conclusion.
-
@Melinda I told you here.
You won't understand @ivdkop way of doing things
Simplified and easy to understand, just use specific actions in BAS.
TEST 1.xml