Index: trunk/EventBenchConsole/rules/rules.xml
===================================================================
--- trunk/EventBenchConsole/rules/rules.xml	(revision 46)
+++ trunk/EventBenchConsole/rules/rules.xml	(revision 50)
@@ -503,5 +503,59 @@
   </rule>-->
 
- 
+  <!-- copy of set focus without kill-foxus -->
+  <rule name="LeftClickSetFocus">
+    <msg type="&WM_LBUTTONDOWN;">
+      <equals>
+        <winInfoValue obj="this" winParam="class"/>
+        <constValue value="Edit"/>
+      </equals>
+      <store var="clicked"/>
+    </msg>
+    <msg type="&WM_SETFOCUS;">
+      <store var="setfocus"/>
+    </msg>
+    <msg type="&WM_COMMAND;">
+      <equals>
+        <paramValue obj="this" param="source"/>
+        <paramValue obj="clicked" param="window.hwnd"/>
+      </equals>
+      <equals>
+        <paramValue obj="this" param="sourceType"/>
+        <constValue value="256"/>
+      </equals>
+      <store var="cmd"/>
+    </msg>
+    <msg type="&WM_LBUTTONUP;">
+      <equals>
+        <paramValue obj="this" param="window.hwnd"/>
+        <paramValue obj="clicked" param="window.hwnd"/>
+      </equals>
+    </msg>
+    <genMsg delay="20">
+      <type>
+        <constValue value="&WM_SETFOCUS;"/>
+      </type>
+      <target>
+        <msgInfoValue obj="setfocus" msgParam="target"/>
+      </target>
+      <WPARAM>
+        <constValue value="0"/>
+      </WPARAM>
+    </genMsg>
+    <genMsg delay="100">
+      <type>
+        <constValue value="&WM_COMMAND;"/>
+      </type>
+      <target>
+        <msgInfoValue obj="cmd" msgParam="target"/>
+      </target>
+      <LPARAM>
+        <msgInfoValue obj="setfocus" msgParam="target"/>
+      </LPARAM>
+      <WPARAM>
+        <paramValue obj="cmd" param="WPARAM"/>
+      </WPARAM>
+    </genMsg>
+  </rule>
   
   <!-- if nothing else, at least switch focus, works only partially -->
