rudi 32 Posted February 9, 2011 (edited) Hi.I suspect, that controlcommand() or controlsettext() might be my friend, but I can't see, how .I can get the content of the list items:$Ctrl = "SysListView321" $Title = "Exact Audio Copy" $Elements = ControlListView($Title, "", $Ctrl, "GetItemCount") ConsoleWrite("Number of List Entries = " & $Elements & @CRLF & @CRLF) For $i = 1 To $Elements ConsoleWrite("Value of Entry #" & $i & " is: " & ControlListView($Title, "", $Ctrl, "GetText", $i - 1) & @CRLF) Next ConsoleWrite(@CRLF & "done!" & @CRLF)The result is OK:Number of List Entries = 14 Value of Entry #1 is: Track01 Value of Entry #2 is: Track02 Value of Entry #3 is: Track03 Value of Entry #4 is: Track04 Value of Entry #5 is: Track05 Value of Entry #6 is: Track06 Value of Entry #7 is: Track07 Value of Entry #8 is: Track08 Value of Entry #9 is: Track09 Value of Entry #10 is: Track10 Value of Entry #11 is: Track11 Value of Entry #12 is: Track12 Value of Entry #13 is: Track13 Value of Entry #14 is: Track14 done!But now I want to WRITE text to the entries found above.<edit> this shall replace the former text </edit><edit2>This is working, but it's ulgy, as it stops working, when the EAC window isn't the active window any more...; .... this goes below the end of the script above WinActivate($Title) ControlListView($Title, "", $Ctrl, "DeSelect", 0, $Elements - 1) ControlListView($Title, "", $Ctrl, "Select", 0) For $i = 1 To $Elements Send("{f2}Some new Track Description " & StringRight("0" & $i, 2) & "{enter}") ; ENTER puts the focus to the next listview element. Next<edit2>Howto?Regards, Rudi. Edited February 10, 2011 by rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE! Share this post Link to post Share on other sites
PsaltyDS 39 Posted February 10, 2011 _GUICtrlListView_SetItemText() See help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
rudi 32 Posted February 11, 2011 Hi.WOW!!!I missed a really big bunch of UDFs!Amazing: When using the search function of the 3.3.6.1 help, "guictrllist" just gives my one hit: History. (amazing, there must be something wrong with the general help search function of windows, I guess)When searching for "listview", I see the _GUICtrlListview*() UDFs Thanks, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Share this post Link to post Share on other sites