myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 I've tested a small demo to see if it reads from an .ini & it did however with this program, it's just looking at the .ini file. Link to comment Share on other sites More sharing options...
Jfish Posted June 9, 2014 Share Posted June 9, 2014 Not sure what that means ... I think there have been a lot of good suggestions to debug. At this point maybe you ought to post the code else we are guessing. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 I've shared both the files, please lemme know if you find anything.. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 9, 2014 Moderators Share Posted June 9, 2014 myksharma, I've shared both the filesWhere? I cannot see anything other than a couple of snippets. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Jfish Posted June 9, 2014 Share Posted June 9, 2014 (edited) Change "GUIFont" to $GUIFont without quotes and try again .... refer to my earlier post GUICtrlSetFont(-1, 17, 400, 0, $GUIFont) GUICtrlSetColor(-1, $WMIFontColor) You need to use the variables you are creating when you read the ini script - you are using a string "GUIFont" .... Edited June 9, 2014 by Jfish Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 inside the koda form section? Link to comment Share on other sites More sharing options...
Jfish Posted June 9, 2014 Share Posted June 9, 2014 Yes, since that is where your GUI is ... Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 Yes, so now I do see a difference in fonts however it's still not picking up the other settings from .ini file like the description field etc. any suggestions! Link to comment Share on other sites More sharing options...
Jfish Posted June 9, 2014 Share Posted June 9, 2014 What description field in the .ini file are you referring to? Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 Main section from the .ini file, all the variables which are capturing those from the .ini file, I don't see them in the GUI. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 9, 2014 Developers Share Posted June 9, 2014 Main section from the .ini file, all the variables which are capturing those from the .ini file, I don't see them in the GUI. Where are you setting the GUIControls to the found INI settings in your code? I only see the Definition and the retrieval from the INI. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Solution Jfish Posted June 9, 2014 Solution Share Posted June 9, 2014 You should take the example of the font that you were able to get working then apply it to the other variables that you are reading in. If you create a variable from the ini file then make sure it is referenced somewhere in the script. That is why the font did not work at first - then you added that variable and it started to work. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 Yes, that's the only purpose I've the .ini for. The executable only will read the static info from the .ini file. Link to comment Share on other sites More sharing options...
myksharma Posted June 9, 2014 Author Share Posted June 9, 2014 Your're right Jfish.. I got another one to work that way. .thank you all.. Link to comment Share on other sites More sharing options...
Jfish Posted June 9, 2014 Share Posted June 9, 2014 Glad you got it working Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt 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