Jump to content
Sign in to follow this  
adapagol

Listbox item shows wrong string

Recommended Posts

adapagol

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 by adapagol

Share this post


Link to post
Share on other sites
PsaltyDS

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.

:P


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
herewasplato

... ADVANCED SYSTEM SUPPORT ENGINEERING SERVICES forum. ...

:-)

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×