|
Post by andreos on Oct 13, 2019 17:21:26 GMT
Is there a a way to return success from "startApp()" or something similar?
|
|
|
Post by AnkuLua on Oct 13, 2019 23:50:43 GMT
Is there a a way to return success from "startApp()" or something similar? startApp() return true if success, and false if failure.
|
|
|
Post by andreos on Oct 14, 2019 12:56:07 GMT
Thanks! You're awesome! However, both theses codes launch the apps instead of just checking if it's open.
if startApp("app name") == true then print("true") else print("false") end
success = startApp("app name") if (success == true) then print("true") else print("false") end
|
|
|
Post by AnkuLua on Oct 14, 2019 13:49:26 GMT
Thanks! You're awesome! However, both theses codes launch the apps instead of just checking if it's open. if startApp("app name") == true then print("true") else print("false") end success = startApp("app name") if (success == true) then print("true") else print("false") end startApp() is used to open the app, not checking the app open or not.
|
|