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.
Sometimes previous changes are lost in a function
-
@nicck said in Sometimes previous changes are lost in a function:
While working on a script, i noticed sometimes all the code blocks are vanished for a function and it becomes a blank function. This happened like 5-10 times. Does anyone know why it happens and a solution for it ?
Do you use any code in the action comments? The BAS interface is written in html and comments can be interpreted as part of the layout
https://community.bablosoft.com/topic/16929/что-за-баг-пропало-всё-что-ниже-свёртки
https://community.bablosoft.com/topic/9577/незакрытые-тэги-в-комментариях -
@nicck said in Sometimes previous changes are lost in a function:
@Fox No, i never used comments in action. Can it be due to Android manager module or some other module ?
It's more like fortune-telling on coffee grounds. Attach the problematic project where the actions disappeared
-
@nicck said in Sometimes previous changes are lost in a function:
@Fox Yes it seems like fortune telling but i cannot attach it as it is private. Any other hints you can provide to fix ?
Ok, I spent some mana and I had a vision that you might be using a code somewhere in your expressions that contains the following sequence of characters
]]>(link), for example, in the action "If"[[VARIABLE]]>0. To fix it, just add a space between the characters]] >, which would work, for example, in the action "If"[[VARIABLE]] > 0