Granger Posted October 1, 2019 Share Posted October 1, 2019 enyby How to run gg in background like u hide it and if u click it, it will show again the script? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 1, 2019 Administrators Share Posted October 1, 2019 Examples of Lua scripts (#d2j0lrom) Link to comment Share on other sites More sharing options...
Granger Posted October 1, 2019 Author Share Posted October 1, 2019 What Will i put in mY Script its giving me error Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 1, 2019 Administrators Share Posted October 1, 2019 Common errors in help requests (#3mwioa3r) Link to comment Share on other sites More sharing options...
Granger Posted October 1, 2019 Author Share Posted October 1, 2019 This what Will i put in my script ? function doAction() local ret = gg.alert('Here some action', 'OK', 'Cancel', 'Exit') if ret == 3 then os.exit() end -- exit from the script end gg.setVisible(false) while true do if gg.isVisible() then gg.setVisible(false) doAction() end gg.sleep(100) end Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 1, 2019 Administrators Share Posted October 1, 2019 Try executing this code from a separate file. Look what will happen. Check out the code. Draw conclusions. [added 0 minutes later] You can also see ready-made templates in the download section. Maybe they will be more understandable to you. I did not see what is there, but this is a typical question. It should be there. Link to comment Share on other sites More sharing options...
Granger Posted October 1, 2019 Author Share Posted October 1, 2019 Hmm What i mean is i can still play even if the script is open without ending the script and when i click the icon it will appear Link to comment Share on other sites More sharing options...
Question
Granger
enyby How to run gg in background like u hide it and if u click it, it will show again the script?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.