REFERENCE
SetFocus

This command will be renamed SetFocusWin in build 107.

Gives the keyboard focus to the previously targeted window.

Syntax

<SetFocus>

Parameters

None.


Remarks

SetFocus gives the keyboard focus to the window that was targeted with TargetWin, TargetChild, SendWin, etc.

It calls the Windows system command SetFocus().


Example

<hotkey F1>
   <sendpc local>
       <TargetWin "My difficult background Window">
       <TargetChild "Obscure control class">
       <SetFocus>
       <text woot it worked>


Related topics

SetForeground

This page was last revised on July 4, 2008.
 
INSTRUCTIONS


REFERENCE


OTHER STUFF


WORLD OF WARCRAFT