 
 RunSelectedCommand2:
     ControlGetFocus, ctrl,
-    if (ctrl == "Edit1")
-    {
-        SendInput, %A_ThisHotkey%
+    if (ctrl == g_InputArea)
+    {
         return
     }
 

return

NextPage:
    ControlFocus, Edit2
    Send, {pgdn}
return

PrevPage:
    ControlFocus, Edit2
    Send, {pgup}
return



TabFunction:
    ControlGetFocus, ctrl,
    if (ctrl == g_InputArea)
    {
        ; 定位到一个隐藏编辑框
        ControlFocus, Edit2
    }
    else
    {
        ControlFocus, %g_InputArea%
    }
return

