Forum Discussion
Use WaitAliasChild
tempaliases = Aliases.WaitAliasChild(AliasesName)
- jab47438 years agoContributor
That doesn't work. I want something like Regions.Item. I can hard code the Aliases.Window1 in the called function but that can be painful if I have to hard code every alias.
- tristaanogre8 years agoEsteemed Contributor
Define "doesn't work". What are you passing in in Aliases Name... are you passing in just Window1? Or are you passing in Aliases.Window1?
There is nothing like Regions.Item. So, the solution needs to be different.
Try adding a timeout parameter...tempaliases = Aliases.WaitAliasChild(AliasesName, 30000)
- jab47438 years agoContributor
Not ignoring your followup question - I am looking at using mapped objects instead ....not sure if mapped objects will work - will followup when I have an answer....
- tristaanogre8 years agoEsteemed Contributor
Aliases are mapped objects... they are a layer overtop of the NameMapping node... I'm sorry, but there is no "Items" on them, either.