Jump to content
Sign in to follow this  
MajSlayer420

Want to add FILE option to the top of my GUI

Recommended Posts

MajSlayer420

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

Share this post


Link to post
Share on other sites
EndFunc

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

Why 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. :whistle:

Edit:

Or if you are trying to get a save as dialog try FileSaveDialog.

Edited by EndFunc

EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites
smashly

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 by smashly

Share this post


Link to post
Share on other sites
MajSlayer420

Thanks guys. I figured it was built in..

Y'all the best

MajSlayer420

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.