Forum Discussion

ArmandsBruns's avatar
ArmandsBruns
Frequent Contributor
13 years ago

NameMapping and Aliases


As I understand one of the Aliases benefits is that I can create my
script much shorter to object.


Add example from help:


NameMapping:

NameMapping.Sys.Explorer1.IEFrame.Shell_DocObject_View1.Internet_Explorer_Server.PageObj



Aliasses:

Aliases.Explorer1.PageObj.

-------------------------------------------------------------------------------------------------------

Question:


How can I create a shorter script in my case?


How work the shortening?


NameMapping.Sys.iexplore_1.pageGmailRakstTVStuliArmandsBrun.frameCanvasFrame.panelOf76ye.panelNh.panelNh.panelNh.panelNh.panelLM.panelLN.panelK.panelDilztc.panelNh.panelNh.panelNh.panelNh.panel.panelAazAam.panelQ5.panelFn.formQi.tableRe.cellR9.epasts



Aliases.iexplore_1.pageGmailRakstTVStuliArmandsBrun.frameCanvasFrame.panelOf76ye.panelNh.panelNh.panelNh.panelNh.panelLM.panelLN.panelK.panelDilztc.panelNh.panelNh.panelNh.panelNh.panel.panelAazAam.panelQ5.panelFn.formQi.tableRe.cellR9.epasts





Best Regards

Armands

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Leave the mapping as it is and, in the Aliases panel, simply drag descendant objects upward in the hierarchy to the desired level.  You can then, also, rename the components in the Alias panel to be something more useful.



    It's really quite that simple.