Frez Posted March 31, 2017 Posted March 31, 2017 Hey, i was wondering, how can i close osbot with onExit method so it can close down when script finishes?
Frez Posted March 31, 2017 Author Posted March 31, 2017 Sometimes the easiest things are hardest to see :p thank you
Polymorphism Posted March 31, 2017 Posted March 31, 2017 Bot#closeSelf() https://osbot.org/api/org/osbot/rs07/Bot.html#closeSelf-- Never used it, but the name is self explanatory. It might do cleanup things that System exit won't. Also, it may not actually close the entire client since: Client > Bot > Script