JNeedles
13 years agoContributor
Recommendations to mass edit name mapping?
Our software has several child items that are the same on every parent item. Because the old and new versions of the software vary in some object identifiers we're using conditional statements on the child objects. Has anyone found a way to update all these child objects at once? I was wondering if a Name Template would work, but I can't quite grasp how those work.
Example:
Old Version
Foo -> Table -> Object1 (WndCaption: XYZ) -> TextObject1 (Name: TextObj(*))
New Version
Foo -> Table - > Object1 (WndCaption: XYZ) -> TextObject1 (ClrClassName: TextBox)
So we have the name map as:
Foo
Table
Object1
TextObject1 (Name equals TextObj(*) OR ClrClassName equals TextBox)
Object2 also has a TextObject with the same identifiers.
Foo-> Table -> TextObject1 with Extended find won't work because Object 1 and 2 are open at the same time and so the first instance is always matched.
Suggestions?
Example:
Old Version
Foo -> Table -> Object1 (WndCaption: XYZ) -> TextObject1 (Name: TextObj(*))
New Version
Foo -> Table - > Object1 (WndCaption: XYZ) -> TextObject1 (ClrClassName: TextBox)
So we have the name map as:
Foo
Table
Object1
TextObject1 (Name equals TextObj(*) OR ClrClassName equals TextBox)
Object2 also has a TextObject with the same identifiers.
Foo-> Table -> TextObject1 with Extended find won't work because Object 1 and 2 are open at the same time and so the first instance is always matched.
Suggestions?