TomCat Posted October 11, 2008 Posted October 11, 2008 Hi i have some problem and i dint find any solution. How can i read an ini section with IniReadSection and put it into an GUICtrlCreateEdit ? Only way i found at the moment is: $read = FileRead($open, FileGetSize($open)) GUICtrlSetData($Edit1, $read) than i get whole ini into the GUICtrlCreateEdit but i only want to get the body of an inisection into it :-/ Can someone help me ?
martin Posted October 11, 2008 Posted October 11, 2008 Hi i have some problem and i dint find any solution. How can i read an ini section with IniReadSection and put it into an GUICtrlCreateEdit ? Only way i found at the moment is: $read = FileRead($open, FileGetSize($open)) GUICtrlSetData($Edit1, $read) than i get whole ini into the GUICtrlCreateEdit but i only want to get the body of an inisection into it :-/ Can someone help me ?I think you need something like this but I haven't tested it. $list = IniReadSection($open,"sectionname") $read = "" for $n = 1 to $list[0][0] $read &= $list[$n][0] & "=" & $list[$n][1] $ @CRLF Next GUICtrlSetData($Edit1, $read) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
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