Jump to content

I know there are listbox and listview, but now I have?


Daka
 Share

Recommended Posts

I know there are listbox and listview, but now I have?

here is the video of infowindow 

I tried to read mouse selection like for listbox:

$listWindow = "[CLASS:TFormResearchGR]"
   $topicsList = "[CLASS:TMWrapper; INSTANCE:255]"

   WinWait($listWindow, "", 60)
   $hdlWindow = WinGetHandle($listWindow)
   $hdlList = ControlGetHandle($hdlWindow, "", $topicsList)
   _GUICtrlListBox_ClickItem($hdlList, 0, "left")


   $countOfList = _GUICtrlListBox_GetCount($hdlList)
   ConsoleWrite("Count of list: " & $countOfList & @LF)

count of list is not working.

I realiezed that there are difference between listbox and listview, but this is something different.

and till now I never saw that you can go inside with infotool and also get instances.

 

so Im confused how to get the list number and the names of selection?

Link to comment
Share on other sites

TMWrapper is not a standard Windows Control as far as I know.  You'll have to look into more sophisticated UI automation techniques, which I have very little experience with.  Hopefully someone can chime and and give you some recommendations on where to start.

This thread may be of use, but I'm not positive it will support that control class (TMWrapper).

 

BTW, looks like a lot of potential personal medical information in the app you are trying top automate.  it's not really may place to ask, but does whom ever is the owner/leaser of the application know what you are working on?  

Link to comment
Share on other sites

The TMWrapper is just instance name,
but it is not listbox or listview :( 

I'm not visualstudio developer,
I did more with webdeveloping,
so this question is more like when
you ask in webdev what is iframe?

So this is also like there is listbox,
listview and what else does it exists?

Link to comment
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
 Share

×
×
  • Create New...