Getting values from "VSFlexGrid8L"

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
yadhukrishna36
Newbie
Posts: 13
Joined: Tue Oct 06, 2020 6:28 pm

Getting values from "VSFlexGrid8L"

Post by yadhukrishna36 » Tue Oct 06, 2020 6:40 pm

Hi, I'm trying to automate a window application, in which I need to select an item from a flex grid (class name = "VSFlexGrid8L" ), The window has no title so I'm taking objects by selecting objects by pressing tabs and getting objects using "GetFocusedObject" (like GetFocusedObject>focdList). Now is there any way that I can get values from flex grid with indexes?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1386
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Getting values from "VSFlexGrid8L"

Post by Dorian (MJT support) » Tue Oct 06, 2020 7:28 pm

If it's an application I suggest trying the Find Object Wizard on it.
Yes, we have a Custom Scripting Service. Message me or go here

yadhukrishna36
Newbie
Posts: 13
Joined: Tue Oct 06, 2020 6:28 pm

Re: Getting values from "VSFlexGrid8L"

Post by yadhukrishna36 » Wed Oct 07, 2020 11:11 am

Dorian (MJT support) wrote:
Tue Oct 06, 2020 7:28 pm
If it's an application I suggest trying the Find Object Wizard on it.
I have WIN_USEHANDLE for that grid I need to know how to read values from VSFlexGrid8L, get index (row count) of a given text in that etc.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1386
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Getting values from "VSFlexGrid8L"

Post by Dorian (MJT support) » Wed Oct 07, 2020 3:52 pm

It's a control embedded in another app so it's very unlikely you'll be able to get the data you need.

You might be able to get all the text with the UIAccessibleList functions or similar. But that's probably about it.
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts