What is the difference between SetFocus and Activate activities?
I tried them out in a workflow. But SetFoucus activity seems to be encountering more errors trying to SetFocus on several elements(Example: Close button of Notepad window)
Can someone enlighten me?
Activate: Enables you to activate a specified UI element. For example, it can be used to bring a window to the foreground.
Set Focus: Sets keyboard focus to a specified UI element.
2 Likes
What does “Sets keyboard focus to a specified UI element” mean? is that like pressing tab button on keyboard until the particular control gets focused?
Thanks,
Asiri