jimmy999 Posted July 31, 2012 Share Posted July 31, 2012 (edited) hi, i have a .ini file with three lines and a gui with three inputs. i whant to make to read input 1 - line 1, input 2 - line 2, input 3 - line 3 from ini file. how do it? Edited August 1, 2012 by jimmy999 Link to comment Share on other sites More sharing options...
stormbreaker Posted August 1, 2012 Share Posted August 1, 2012 You want to set the values of inputs to match those of ini file. Something like this could work: GuiCtrlSetData($Input1, FileReadLine("myinifile.ini", 1) GuiCtrlSetData($Input2, FileReadLine("myinifile.ini", 2) GuiCtrlSetData($Input3, FileReadLine("myinifile.ini", 3) Enjoy!!! jimmy999 1 ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 1, 2012 Moderators Share Posted August 1, 2012 jimmy999,Please read the Forum Rules - particularly the bit about not discussing login scripts - and then you will understand why you will get no more help and this thread will now be locked. 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...
Recommended Posts