5G_Controller Posted November 21, 2019 Share Posted November 21, 2019 I have the code prompt = gg.prompt({"infor1","infor2"},nil,{"number","number"}) I do a searchNumber for 'infor1' and modify it to 'infor2' after i launched the script, how could I save the numbers that I put in 'infor1' and 'infor2' in the prompt? Tks Link to comment Share on other sites More sharing options...
Administrators Enyby Posted November 21, 2019 Administrators Share Posted November 21, 2019 Use table if you need store only until scripts run. Use file with gg.saveVariable if you need persistent storage. Link to comment Share on other sites More sharing options...
5G_Controller Posted November 21, 2019 Author Share Posted November 21, 2019 9 hours ago, Enyby said: Use table if you need store only until scripts run. Use file with gg.saveVariable if you need persistent storage. Tks reply Pls help me with an example LUA script for gg.saveVariable Link to comment Share on other sites More sharing options...
Administrators Enyby Posted November 21, 2019 Administrators Share Posted November 21, 2019 Maybe you try read API help and use examples from there? Link to comment Share on other sites More sharing options...
Question
5G_Controller
I have the code
prompt = gg.prompt({"infor1","infor2"},nil,{"number","number"})
I do a searchNumber for 'infor1' and modify it to 'infor2'
after i launched the script, how could I save the numbers that I put in 'infor1' and 'infor2' in the prompt?
Tks
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.