The problem here is that every time i'm coming to a similar screen but from different component so tc will concatenate the object i'm coming from to the home button. for example:
if i'm coming from datasources tc will create the following home button string:
Aliases.QuickDesign_ConfigurationManager.BreadsScrumpTree.DataSourcesControl.Border.DataSourceHomeButton.Visible
if i'm coming from functionaltc will create the following:
Aliases.QuickDesign_ConfigurationManager.BreadsScrumpTree.FunctionalItemsControl.Border.FunctionalItemsHomeButton._NewEnum
Thant's why it's a bit mess, it's the same HomeButton but a totally different object
That's why in my original script i had to wait for the VisibleOnScreen property to be tru for each pattern and that waisted time because tc had to wait for that property
Aliases.QuickDesign_ConfigurationManager.BreadsScrumpTree.AutomationBindingsControl.WaitProperty("VisibleOnScreen", true, 1000))