Granger Posted October 1, 2019 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?
Administrators Enyby Posted October 1, 2019 Administrators Posted October 1, 2019 Examples of Lua scripts (#d2j0lrom)
Granger Posted October 1, 2019 Author Posted October 1, 2019 What Will i put in mY Script its giving me error
Administrators Enyby Posted October 1, 2019 Administrators Posted October 1, 2019 Common errors in help requests (#3mwioa3r)
Granger Posted October 1, 2019 Author 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
Administrators Enyby Posted October 1, 2019 Administrators 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.
Granger Posted October 1, 2019 Author 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
Question
Granger
enyby How to run gg in background like u hide it and if u click it, it will show again the script?
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.