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.
problem with storing function result in variable
-
Hello there. I have a function called "Test_ID" with two parameters called "user" and "pass". In my function I use "return" and I need to store the results in a variable. I tried to do this using "Embedded Languages" module in BAS. This is how my code looks like:
var testResult = await BAS_FUNCTION(
"Test_ID",
{user: [[USERNAME]], pass: [[PASSWORD]]}
)However, everything stops after a URL is loaded in the "Test_ID" function. It doesn't proceed to the next lines for inputting user and pass. Therefore the "testResult" doesn't get updated.