Onayr Posted March 9, 2020 Share Posted March 9, 2020 Hey All, Just started working with osbot scripting a little while ago and I am noticing I have to sleep after every single action or else the action often doesn't take place. Is this normal behavior? For example a simple getTabs().open(Tab.Magic); often won't open the desired tab unless I sleep for around 500ms afterwards. I thought for the most part conditional sleeps were built into the functions but in practice it will often return true without finishing the action. I guess it's probably good practice to put sleeps after everything anyways to reduce ban rates but just wanted to know what best practices were around that. Quote Link to comment Share on other sites More sharing options...
Gunman Posted March 9, 2020 Share Posted March 9, 2020 @Onayr Look at #15 here https://osbot.org/forum/topic/115124-explvs-scripting-101/ Quote Link to comment Share on other sites More sharing options...
Onayr Posted March 10, 2020 Author Share Posted March 10, 2020 Thanks for the quick reply @Gunman! I'll try to build closer to that structure and see how it turns out 1 Quote Link to comment Share on other sites More sharing options...
splatbug Posted March 10, 2020 Share Posted March 10, 2020 10 hours ago, Onayr said: Thanks for the quick reply @Gunman! I'll try to build closer to that structure and see how it turns out good luck! 1 Quote Link to comment Share on other sites More sharing options...