MajSlayer420 Posted March 5, 2007 Share Posted March 5, 2007 Hello I want to make my program able to save the current settings to a file. How do I add a FILE option with the normal goodies . like save and save as. ect.ect? Thanks MajSlayer420 Link to comment Share on other sites More sharing options...
EndFunc Posted March 6, 2007 Share Posted March 6, 2007 (edited) Hello I want to make my program able to save the current settings to a file.How do I add a FILE option with the normal goodies . like save and save as. ect.ect?ThanksMajSlayer420Why not try using an INI file to save your settings try using the IniWrite(). Many options with that and other functions that start with INI. Edit:Or if you are trying to get a save as dialog try FileSaveDialog. Edited March 6, 2007 by EndFunc EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
smashly Posted March 6, 2007 Share Posted March 6, 2007 (edited) Hey MajSlayer420 a good place to start for what your after, Have a look in the Help File under Function Reference -> GUI Control Creation GUICtrlCreateMenu() GUICtrlCreateMenuitem() That's for creating file menus at the top of your gui. Also look in the Help File under Function Reference ->File Directory And Disk Management FileSaveDialog() IniWrite() IniWriteSection() That's for saving your settings. Cheers Edited March 6, 2007 by smashly Link to comment Share on other sites More sharing options...
MajSlayer420 Posted March 6, 2007 Author Share Posted March 6, 2007 Thanks guys. I figured it was built in.. Y'all the best MajSlayer420 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now