Popular JavaScript recipes tagged "window"http://code.activestate.com/recipes/langs/javascript/tags/window/2010-03-29T18:59:03-07:00ActiveState Code RecipesKomodo JS Macro - force the focus back onto the editor after an alt-tab (JavaScript)
2010-03-29T18:59:03-07:00Todd Whitemanhttp://code.activestate.com/recipes/users/2666241/http://code.activestate.com/recipes/577164-komodo-js-macro-force-the-focus-back-onto-the-edit/
<p style="color: grey">
JavaScript
recipe 577164
by <a href="/recipes/users/2666241/">Todd Whiteman</a>
(<a href="/recipes/tags/focus/">focus</a>, <a href="/recipes/tags/javascript/">javascript</a>, <a href="/recipes/tags/komodo/">komodo</a>, <a href="/recipes/tags/macro/">macro</a>, <a href="/recipes/tags/setfocus/">setfocus</a>, <a href="/recipes/tags/tab/">tab</a>, <a href="/recipes/tags/window/">window</a>).
</p>
<p>A <a href="http://www.activestate.com/komodo">Komodo</a> JavaScript macro that can be used to force the focus back to the Komodo editor after switching between windows (i.e. after using Alt-Tab).</p>
<p>This macro only applies to Windows and Mac OS - where there is an application activated notification event available.</p>
<p>To use this macro - set the macro to trigger on the "On startup" event.</p>