Does anyone know if it's possible to get the focus to a window that doesn't have focus?
The situation is like this: I start a driver script that starts of with a dialog. After I'm done with the dialog the focus on my application is gone.
<font size="2" face="Verdana, Arial, Helvetica">Hi Sam!
I think you could use SetFocus( ). Sample code:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Var aw = ActiveWindow( ) // Find the handle of your application's window
Dialog("MyDialog", arrayofcontrols, "center"
SetFocus(aw) // Set focus using the saved window handle