-
How to remove language Dependency while retrieving Window Handle using Window Title?
Hi,
I am using a UI Automation tool and retrieving an AutomationElement to a window using window Title. (Code snippet added below)
AutomationElement aeCustomDPIWindow = null;
Thread.Sleep(500);
aeCustomDPIWindow = aeDPIScaling.FindFirst(TreeScope.Descendants | TreeScope.Children, new PropertyCondition(AutomationElement.NameProperty, "Custom DPI Setting"));
Window's name is used here. But this would be language dependent and this scenario would fail on other OS (German/Non-English OS).
Can anyone please tell me a way to remove this language dependency?
-
Welcome to DevX 
What "UI Automation tool" are you using?
-
I am using UI Studio.....
Similar Threads
-
By Jordan Dragoev Nedelchev in forum Java
Replies: 2
Last Post: 11-08-2002, 12:57 PM
-
By Jason Thorn in forum .NET
Replies: 8
Last Post: 02-12-2001, 01:03 PM
-
By TC in forum VB Classic
Replies: 8
Last Post: 09-26-2000, 02:34 AM
-
By Andrew in forum VB Classic
Replies: 2
Last Post: 06-30-2000, 11:09 AM
-
By Leonardo Bosi in forum VB Classic
Replies: 12
Last Post: 05-08-2000, 05:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|