nimbuscenter 0 Posted October 26, 2017 Report Share Posted October 26, 2017 Noob here. Halfway though tutorials. Made a few working bots and compiled them to exe. Awesome! Each time I open the bot all UI text boxes are empty. Is there a way to save user entered data? Will future customers be able to save their own unique entered data? Thanks! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted October 26, 2017 Report Share Posted October 26, 2017 Yes there are ways to do it. Generally you want to use a file of some sort and then save that file to a location the user will likely not delete. So I like to save my files like that in the application folder using the special folder function. As for what kind of file, you can use INI, which there are some plugins like Heopas Plugin and Aymen has a plugin here too but you may not be able to download it anymore. Otherwise, you can use CSV file, XML file, text file and so on. When you want to load the data you can use the On Load command this will run the commands in the on load command when the bot starts up. So you can load that file first into a table or read it - depending on the file you save - and then set the variables to the users settings. If you need a code example let me know. 1 Quote Link to post Share on other sites
nimbuscenter 0 Posted October 26, 2017 Author Report Share Posted October 26, 2017 Thank you very much Hellolnsomnia! Quote Link to post Share on other sites
spa3212 1 Posted April 16, 2018 Report Share Posted April 16, 2018 I can you please send this example code...Thanks If you need a code example let me know. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 16, 2018 Report Share Posted April 16, 2018 I can you please send this example code...Thanks If you need a code example let me know. Here's a tutorial on it: https://www.youtube.com/watch?v=cdAjDvwYM4w Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.