Damein 19 Posted October 24, 2010 For some reason I can't get this to work: $var = IniReadSection("C:\Users\***\Desktop\Test\Test\Test.ini", "Test") MsgBox(0, "test", $Var) The msgbox comes back as empty The ini looks like this: [Test] TestKey=TestVar *is confused* Most recent sig. I madeQuick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic Share this post Link to post Share on other sites
Realm 18 Posted October 24, 2010 Hello Damien, From the Help File 'Returns a 2 dimensional array where element[n][0] is the key and element[n][1] is the value.' 'The number of elements returned will be in $result[0][0].' IniReadSection returns a Multi-Dimensional Array. So try this: #include <Array.au3> $var = IniReadSection("C:\Users\***\Desktop\Test\Test\Test.ini", "Test") _ArrayDisplay($var,'Test.ini') Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Share this post Link to post Share on other sites
Damein 19 Posted October 24, 2010 Yeah, sorry, I didn't get a chance to edit my post. I feel stupid ^^; I found that section after I posted, silly me! Most recent sig. I madeQuick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic Share this post Link to post Share on other sites