Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing window titles
#1
Not Solved
I have a windows application that keeps changing its name. Though all the rest of the properties are the same the the text property and regexpwndtitle property keeps changing I have tried a few things with the regualr expressions but nothing seems to work.

If a project is open in the application the then Text property says Project-Control Designer and the regexpwndtitle says Project. Every new indow requires a new obect in the repository. I have been trying to add regualr expressions to the These two properties such that I can use the same object for any project. I havent had any success.

What can I Do?
(Project is a variable that keeps changing)

regexpwndtitle = Project
Text = Project-Control Designer
Reply
#2
Not Solved
can you tell us what have you tried with regular expression?
have you tried setting this
Code:
for regexpwndtitle = .*
Text = .* -Control Designer (if Control designer is static)
does this work?

Reply
#3
Not Solved
You could also use descriptive programming to identify other properties of the object you are looking for and totally ignore the "name" property. I have found this can cause optimization issues but if you order your selected properties correctly it can help to alleviate this problem. Just one more possible solution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  java window titles & regular expressions jotdog2 1 4,032 02-13-2012, 10:55 PM
Last Post: madsenfr
  Randomly changing numbers mahadevan.swamy 5 3,822 03-29-2009, 08:25 AM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)