Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Automation classes... Help!

Closed Thread
 
Thread Tools Display Modes
Old 02-02-2006   #1 (permalink)
Nick_Journals's Avatar
Nick_Journals
Guest


 



Automation classes... Help!

Hi guys,
I am experimenting with the automation classes but I have some questions:

- Is it possible to do a search for an element by using wildcards in
findfirst/findall?
e.g. I would like to search for "TestWindow*" which would then return either
the first window it finds or all windows that match that ciriteria.
(TestWindow1,TestWindow2,...)

- The treescope defines ancestors & parent, but where can I use these? I
only get invalidparam when I try to use them in findfirst/findall. So how
can I get the parent of a control without using win32?

- Is there any way to control a window without having to use it's name? A
control is simple because it has an automation ID, but the automationd id of
a window is always empty so the best I can use to describe it, is using the
name. But the problem with that is that it isn't very useable when trying
another language of the application.

PS: I use the January CTP.

Best Regards,
Nick


Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Localization in Classes Pieter .NET General 2 05-28-2008 06:22 AM
array of classes Khan .NET General 1 04-15-2008 01:01 PM
What Framework Classes Do You Use the Most? Mike Hofer .NET General 1 03-13-2008 02:23 PM
how to load .net classes IT Staff PowerShell 3 01-22-2007 11:42 AM
RC1 and WMI - mising classes? DewBoy3d Vista performance & maintenance 1 09-18-2006 06:05 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50