![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Identify the list of controls in an app Hi, Can anyone let me know how to get hold of a currently running application and get the list of controls within it. In all of the forums I could see only to start an application and capture its object and then access its controls with their names. But in this case I should get the list of controls available in a currently running application. Can anyone help me out on this. |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: Identify the list of controls in an app You can try WASP (Windows Automation Snapin for PowerShell), by Jaykul, available for download at: http://www.codeplex.com/WASP/Release...ReleaseId=9323 PS 39> Select-Window -Title "Internet Properties" | Select-Control | select Text,ClassName Text ClassName ---- --------- General #32770 OK Button Cancel Button &Apply Button Help Button SysTabControl32 --- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||
| Guest | Re: Identify the list of controls in an app Hi Shay Levi, Using WASP I was able to identify the first level controls in the application. But my application uses embedded controls as below: (as shown by SPY++) Window->Shell Embedding->Shell DocObject View->Internet Explorer_Server Even SPY++ did not recognize the controls within it. It seems the application loads a html taken from a DLL, and displayes it in the application. Thus I am unable to identify the controls loaded by the html. In this case, how can I identify controls within embedded objects. Thanks, Madmax "Shay Levi" wrote:
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: Identify the list of controls in an app The web page you're trying to get is window-less and WASP doesn't have any logic for dealing with that stuff. You can try sending key strokes... --- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cannot identify network | tom healy | Vista General | 1 | 09-12-2007 01:00 AM |
| Identify Drive | rjc | Vista hardware & devices | 1 | 06-14-2007 12:51 PM |
| How to obtain the controls list of a window | Thierry | Avalon | 10 | 01-24-2007 03:42 PM |
| how to list controls present on the Winfx window | sam | Avalon | 4 | 06-02-2006 11:28 PM |