adapagol Posted October 22, 2008 Share Posted October 22, 2008 (edited) Hi,I have to automate a GUI which contains a listbox control with items for example,item1,item2,item3 and a common icon in each item.Now i have to click on a specified item .The problem is that when I use _GUICtrlListBox_GetText()function it shows completely different string for example, some kind of ip address for each item.That means for each visible text item there is different string.But I want to mention here I used Autoit window info tool and it says it is a Listbox control.Now i want to know what kind of Listbox is that?And how to detect the visible text of each item.I tried almost all functions related to Listbox control to find out the Visible text(item1,item2,item3) of each item but did not succeeded.Unfortunately I can not submit the GUI here.please help me. Edited October 22, 2008 by adapagol Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2008 Share Posted October 22, 2008 Hi,I have to automate a GUI which contains a listbox control with items for example,item1,item2,item3 and a common icon in each item.Now i have to click on a specified item .The problem is that when I use _GUICtrlListBox_GetText()function it shows completely different string for example, some kind of ip address for each item.That means for each visible text item there is different string.But I want to mention here I used Autoit window info tool and it says it is a Listbox control.Now i want to know what kind of Listbox is that?And how to detect the visible text of each item.I tried almost all functions related to Listbox control to find out the Visible text(item1,item2,item3) of each item but did not succeeded.Unfortunately I can not submit the GUI here.please help me.Post the Summary tab of the AutoIt info tool for this control. Then show the short script you used to pull the text, and post result so we can see what "some kind of ip address" looks like. I think it can be solved, but more information is required.If you need help without being able to provide critical information, you'll have to try the ADVANCED SYSTEM SUPPORT ENGINEERING SERVICES forum. 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 Link to comment Share on other sites More sharing options...
herewasplato Posted October 22, 2008 Share Posted October 22, 2008 ... ADVANCED SYSTEM SUPPORT ENGINEERING SERVICES forum. ...:-) [size="1"][font="Arial"].[u].[/u][/font][/size] 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