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

    Default Starting out with HotKeyNet

    Hi.

    I've just returned to multiboxing WoW and I'm trying to get to grips with HotkeyNet for the first time, as my Keyclone license no longer works.

    I've had a read through the docs and examples of HKN scripts, but am a little unclear on how to achieve the functionality I want.

    In particular I think I need three different "levels" of key broadcasting in HKN:
    1. Broadcast most keys to all windows, except movement and tab - for general play
    2. Broadcast all keys - for entering arbitrary text in all windows at the same time, e.g. typing password, adding macros to all clients
    3. Disable all broadcasting
    I can see how to implement a simple enable/disable of all hotkeys using the ToggleHotKeys function which sorts 3, but how can I achieve the switching between 1 and 2?

    Thanks for any advice.

    PS. Mistakenly thought I was using AutoHotKey, not HotkeyNet. Could a moderator correct the thread tag to HotkeyNet please?
    Last edited by Ozbert : 06-16-2012 at 10:32 AM Reason: Correct references to AutoHotKey to HotkeyNet
    Outland EU - Orc Shamans: Toth[aeiou]
    Al'Akir EU - Night Elf Hunters: Venatrix[aeiou]
    Core i7 920 - Intel DX58SO board - 6GB Corsair DDR3-1333 - GeForce GTX285 1GB - 2x Dell 2407FPW LCD
    Windows 7 Ultimate RC 64-bit - Keyclone

  2. #2

    Default

    I define keylists and use a toggle to swap between them.

    Code:
    <KeyList MyList 0-9, A-Z, Numpad0-Numpad9, Divide, Multiply, NumpadMinus, NumpadPlus, Backspace, Insert, Home, PgUp, PgDn, Delete, F1-F12, Esc, Tab, Oem1-Oem7, except OEM2, 2, w, a, s, d, q, e, x>
    <Keylist All 0-9, A-Z, Backspace, Delete, Space, Esc, Enter, Tab, Oem1-Oem7>
    
    <Hotkey CapsLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList; CapsLockOff Ctrl Alt MyList; CapsLockOff Shift Ctrl MyList; CapsLockOff Shift Alt MyList>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    <Hotkey CapsLockOn All>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    
    <hotkey Pause>
    	<sendpc local>
    		<ToggleHotkeys>
    Keylist MyList defines keys I want to send during normal mutliboxing. Keylist All is keys I want to send for things like everyone entering text {emotes, passwords, etc}.

    CapsLock is the toggle between the two. If CapsLock is off, I am broadcasting normally {defined the list for use with modifiers as well}. If Capslock is on, I am broadcasting everything to everyone.

    And of course, Pause disables all broadcasting to any background window.
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  3. #3

    Default

    Perfect, thank you!

    Another question: Is it possible for HKN to stop attempting to broadcast to any WoW windows when I don't have any of them selected, for example I've tabbed out to a web browser.
    Outland EU - Orc Shamans: Toth[aeiou]
    Al'Akir EU - Night Elf Hunters: Venatrix[aeiou]
    Core i7 920 - Intel DX58SO board - 6GB Corsair DDR3-1333 - GeForce GTX285 1GB - 2x Dell 2407FPW LCD
    Windows 7 Ultimate RC 64-bit - Keyclone

  4. #4

    Default

    Yup. If you have Partial Match enabled under Options > Settings > Window Name Match you can make use of an IF statement

    Code:
    <Hotkey CapsLockOff MyList; CapsLockoff Shift MyList; CapsLockOff Alt MyList; CapsLockOff Ctrl MyList; CapsLockOff Ctrl Alt MyList; CapsLockOff Shift Ctrl MyList; CapsLockOff Shift Alt MyList>
    	<If ActiveWinIs WoW>
    	  	 <SendLabel w1, w2, w3, w4, w5>
       	<Key %Trigger%>
    		<Else>
    			<SendPC Local>
    		<TurnHotkeysOff>
    Using If ActiveWinIs WoW means that if you are in any window starting with WoW then your keys will act normally. If you aren't, as soon as you use a key in that list, it will pause HotKeyNet.
    Last edited by Khatovar : 06-16-2012 at 11:38 AM
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

  5. #5

    Default

    Here's my script so far: http://pastebin.com/wPw8gkRx

    I get a ton of errors about Disregarding Empty Hotkeys, listing all the keys in my two KeyLists when I load that script.
    Outland EU - Orc Shamans: Toth[aeiou]
    Al'Akir EU - Night Elf Hunters: Venatrix[aeiou]
    Core i7 920 - Intel DX58SO board - 6GB Corsair DDR3-1333 - GeForce GTX285 1GB - 2x Dell 2407FPW LCD
    Windows 7 Ultimate RC 64-bit - Keyclone

  6. #6

    Default

    I can't duplicate the error. I copied the script and got errors because you didn't close your brackets on lines 104 and 108 and because you have line breaks in the middle of your keylists at lines 96 and 100

    03:56:17:
    Loading script C:\Users\Giga_Mu-fin\Desktop\blegh.txt.
    03:56:17:
    Line 96 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: <KeyList AllKeys Esc, F1-F12, Oem1-8, 0-9, A-Z, Minus, Plus, Backspace, Tab, Enter, Comma, Period, Insert, Delete, Home, End,
    03:56:17: unmatched left angle
    03:56:17:
    Line 98 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: PgUp, PgDn, Up, Down, Left, Right, Divide, Multiply, NumpadMinus, NumpadPlus, NumpadEnter, Numpad0-9, Decimal>
    03:56:17: text was found outside <> symbols; that's not allowed.
    03:56:17:
    Line 100 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: <HotKey ScrollLockOff GameKeys; ScrollLockOff Shift GameKeys; ScrollLockOff Ctrl GameKeys; ScrollLockOff Ctrl Alt GameKeys;
    03:56:17: unmatched left angle
    03:56:17:
    Line 102 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: ScrollLockOff Shift Ctrl GameKeys; ScrollLockOff Shift Alt GameKeys>
    03:56:17: text was found outside <> symbols; that's not allowed.
    03:56:17:
    Line 104 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: <Key %Trigger%
    03:56:17: unmatched left angle
    03:56:17:
    Line 106 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: <HotKey ScrollLockOn AllKeys>
    03:56:17: "AllKeys" is unknown.
    03:56:17:
    Line 108 in C:\Users\Giga_Mu-fin\Desktop\blegh.txt: <Key %Trigger%
    03:56:17: unmatched left angle
    03:56:17:
    Finished loading hotkey file.
    03:56:17: 7 errors were found
    03:56:17: 9 definitions were loaded
    03:56:17: 0 keys will be used as modifiers
    I added the missing brackets and removed the breaks and no more errors.

    04:01:12:
    Loading script C:\Users\Giga_Mu-fin\Desktop\blegh.txt.
    04:01:12:
    Finished loading hotkey file.
    04:01:12: No errors were found
    04:01:12: 381 definitions were loaded
    04:01:12: 0 keys will be used as modifiers
    Nothing about empty hotkeys in either.
    Blog : Herding Khats
    Team : Kina - Çroaker - Messkit - Lìfetaker - Wìdowmaker
    Newbie Guides : Multiboxing Vol. 1 - Multiboxing Vol. 2 - HotKeyNet - Jamba
    The Almighty Lax made a liar out of me, apparently I DO get prizes for it.
    *Commences Wielding the Banhammer like there's piñatas up in here and I'm Lady Thor*

    _ Forum search letting you down? Use the custom Google search _

Posting Rules

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