Close
Showing results 1 to 4 of 4
  1. #1

    Default Setup and control of window focus

    I'm still setting up my HKN which is coming along nicely, but there's one thing I don't know how to do. And one thing I don't know if can be done.

    1) Is there any way to have HKN to only be active / send keys, when a WoW window has focus?

    2) I use A, S, D, W for movement on my main, but I also want to use those keys "normally" on occasion (when typing my password, when using a quest item in game using /use etc.), is there any way to do that if asdw are defined as movement keys?
    Classic - Pyrewood Village, Horde, EU

  2. #2

    Default

    Hi, i try to give some examples how i do the thinks you asked about:
    1) Is there any way to have HKN to only be active / send keys, when a WoW window has focus?
    I do this by defining all my hotkeys with the following template:
    Code:
    // %1% = Key, Keysequence or Keylist to be broadcasted
    <Template Broadcastkey>
      <Hotkey %1%; alt %1%; ctrl %1%; shift %1%>
        <If ActiveWinIsNot WoW>
         <SendFocusWin>
         <Key %trigger%>
        <Else>
         <Sendlabel w1,w2,w3,w4,w5>
         <Key %trigger%>
    <EndTemplate>
    with w1,w2,w3,w4,w5 being th labels for my WoW-windows, and the names of all my WoW windows starting with WoW (WoW1,WoW2,WoW3..).
    You can the define the keys you want to broadcast with:

    <ApplyTemplate Broadcastkey A-Z>

    or even with a hole Keylist as a parameter:

    <KeyList MyList A-Z, 0, 2-9, F6-F12 except W, A, S, D, Q, E>
    <ApplyTemplate Broadcastkey MyList>

    (if you don't need the alt,ctrl,shift-versions simply erase them.)

    2) I use A, S, D, W for movement on my main, but I also want to use those keys "normally" on occasion (when typing my password, when using a quest item in game using /use etc.), is there any way to do that if asdw are defined as movement keys?
    for this I simply have a hotkey defined which toggles hkn-on and off like this:

    Code:
    <hotkey pause>
     	<sendpc local>
     	<ToggleHotkeys>
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  3. #3

    Default

    Brilliant - thanks :-)
    Classic - Pyrewood Village, Horde, EU

  4. #4

    Default

    No problem, glad i could help!
    btw.: for the above template stuff you need a version with build 153 or above.
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

Similar Threads

  1. Replies: 2
    Last Post: 06-21-2009, 02:19 AM
  2. auto focus window on mouseover?
    By Anhvariel in forum Software Tools
    Replies: 3
    Last Post: 12-03-2008, 04:39 AM
  3. Window Auto-Focus
    By germieb in forum New Multi-Boxers & Support
    Replies: 5
    Last Post: 08-24-2008, 12:29 PM
  4. Crowd control /polymorph focus selection from your main
    By Simulacra in forum Macros and Addons
    Replies: 5
    Last Post: 05-29-2008, 03:49 PM
  5. Focus window on mouse over?
    By Wulfos in forum Software Tools
    Replies: 13
    Last Post: 12-25-2007, 09:54 AM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •