How come my SetFocus or other Window command isn't finding the correct window?
This could be for a variety of reasons:
1. Make sure you have the correct window title - use Tools/View System Windows to get a list of all windows currently in your system.
2. If you are specifying a wild card be sure to be as specific as possible as there could be some hidden or child windows with the same string in their title. Be sure to read the help file to understand the way the wildcard works.
3. Perhaps your script is finding a child window which you can't see on the screen. Try setting WF_TYPE to 0 to ignore child windows (LET>WF_TYPE=0).