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

    Default Stuck setting up movement keys

    I have read the guide but i dont really see this in it
    I only dualbox,2 windows,wow1 and wow 2
    Now im trying to set it so if i press Up/down/left/right on wow1,it will only send the key to wow2


    <Label w1 Local SendWinM wow1>
    <Label w2 Local SendWinM wow2>
    <KeyList MoveList Up,Down,Left,Right>
    <Hotkey MoveList>
    <If ActiveWinIs wow1><SendLabel w2><Key %Trigger%>
    <Else If ActiveWinIs wow2> <SendLabel w1><Key %Trigger%>
    <Else><SendFocusWin><Key %trigger%>

    Kinda new to this..Any suggestion?This does break my follow but my 2nd char doesnt seem to move

  2. #2

    Default

    Hi!
    There is a command in HKN for movementkey, named <MovementHotkey> .
    With this you could do the task described above with:

    Code:
    <Label w1 Local SendWinM wow1>
    <Label w2 Local SendWinM wow2>
    <Label focus Local SendFocusWin>
    
    <MovementHotkey up,down,left,right>
     	<If ActiveWinIs wow1><SendLabel w2><Key %Trigger%>
     	<Else If ActiveWinIs wow2> <SendLabel w1><Key %Trigger%>
     	<Else><SendLabel focus><Key %trigger%>
    (this would do the following:
    1. If you play on WoW1 and press the arrow-keys, its sends the corresponding arrow-key to WoW2
    2. If you play on WoW2 and press the arrow-keys, its sends the corresponding arrow-key to WoW1
    3. If you play neither WoW1 or WoW2 and press the arrow-keys, its sends the corresponding arrow-key to the window with the focus. )
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  3. #3

    Default

    I had originally set this but it gave me an error

    <MovementHotkey up,down,left,right>
    <If ActiveWinIs wow1><SendLabel w2><Key %Trigger%>
    <Else If ActiveWinIs wow2> <SendLabel w1><Key %Trigger%>
    <Else><SendFocusWin><Key %trigger%>

    I'll try yours in a min or so and report if it works.thanks

  4. #4

    Default

    hi, glad i could help.
    The reason, why your version was giving you an error is the following:

    Only PassThrough, SendLabel, Key, If,Else, Endif can be used inside of an <MovementKey> (stated on the MovementKey-Reference).

    Thats why using <SendFocusWin> giving you an error.
    Luckily Freddie was so kind to allow us to define a label for the FocusWin like:
    <Label focus Local SendFocusWin>

    so we can use the <SendLabel>-command in the <MovementKey>
    OLIPCS - ordinary life is pretty complex stuff
    ----------------------------------------------------------------
    Pala, Priest, Druid, Hunter, Mage
    Focusless Targetless Leaderless - Wiki
    HotKeyNet - Guide

  5. #5

    Default

    The original hotkey should have generated this error message:

    Movement hotkeys can contain only <Passthrough>, <SendLabel>, and <Key>

    Did that not happen? Or was it impossible to figure out what the message meant? (Btw I need to update the message to include If-Else-EndIf.)
    �Author of HotkeyNet and Mojo

  6. #6

    Default

    I changed the error message. The original definition will now generate this message:

    <SendFocusWin> is not allowed in movement hotkeys. You can use <SendLabel>, <Key>, <PassThrough> and non-command keywords like <If>, <Toggle>, and <ApplyTemplate>.

    Hopefully this will be easier to understand.
    �Author of HotkeyNet and Mojo

Similar Threads

  1. QWEASD used as movement keys for multiboxing... HOW?
    By Jergen in forum General Discussion
    Replies: 3
    Last Post: 07-21-2009, 09:27 AM
  2. Stuck keys in keyclone + 1 feature request
    By Zappy in forum Software Tools
    Replies: 4
    Last Post: 10-29-2008, 11:35 AM
  3. Binding Movement Keys
    By Silly Gooooose in forum Macros and Addons
    Replies: 1
    Last Post: 04-17-2008, 05:05 AM
  4. movement keys for alts
    By pinotnoir in forum New Multi-Boxers & Support
    Replies: 10
    Last Post: 01-09-2008, 04:02 PM
  5. Movement control (of main) in a setup with X-Keys
    By Tealuin in forum General Discussion
    Replies: 4
    Last Post: 08-11-2007, 11:40 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
  •