sammysnake Posted July 19, 2005 Share Posted July 19, 2005 Not sure if anyone is going to be able to help me out with this odd bug,. This program is basically going to be used to describe images inside the image folder and save it to an ini in the same folder. The problem I'm having is when you open up the Options > Client Setup, you set a directory path for an Image folder. When you click the Save Options button it saves two ini files: 1) @WindowsDir & "\picprosetup.ini" 2) (directory path you just set) & "\picpro.ini" It saves these two files correctly; however, when you reopen the Client Setup window and leave everything the same, when you click "Save Options" it should save everything back exactly the same... However, it's not reading the Directory Setup path control properly and when I get the contents of the control it reads it as null. I believe it's related to fact that I'm hideing the GUI State of the gui window. If anyone can help me out here, would be great.. kinda driving myself crazy here.PicProfiler.au3 Link to comment Share on other sites More sharing options...
sammysnake Posted July 19, 2005 Author Share Posted July 19, 2005 Ack, figured it out.. 133: $pic_dir = GUICtrlRead($ctrl_input_options_dir); 134: IniWrite(@WindowsDir & "\picprosetup.ini", "setup", "pic_dir", $var) I was setting the ini value to $var, which should have been $pic_dir.. foolish typo! 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