Forum Discussion
Use WaitAliasChild
tempaliases = Aliases.WaitAliasChild(AliasesName)
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.
- tristaanogre6 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)
- jab47436 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....
- tristaanogre6 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.
- jab47436 years agoContributor
Got it working on something you suggested in another thread. I use the FindChild method to dynamically createregionInfo the current region object that I check against a stores region file I dynamically name in the function call. One Function I can now call for any region.check. Thanks for the help.