In a situation where I have multiple windows with multiple tabs open on each window, I am trying to have code within an indicator that will find and focus on the tab with the indicator running then use the SendKey.Wait method.
I am unable to get the tab to become focussed in the first instance.
I am using .Focus() within a dispatcher then checking using .IsFocused however I cannot get IsFocused to become true.
Can you please suggest the correct use of code to focus on the tab with the indicator running please.
Thanks
Comment