Close
Showing results 1 to 10 of 12

Threaded View

  1. #4

    Default Clarification and compliments

    Indeed, I meant
    I have most probably made HKN do much more than its author would have though reasonable.
    as a joke whereas I should have been a compliment.

    I have extensively researched the event handler replacements tools which allow multiboxing. HotKeyNet had the leanest "programming" aspect to it. I am glas I have choosen it. Kudos to you.

    Nontheless, I wanted to bring to your attention several small details:

    1. you state that there is a restriction regarding if-else-endif not being allowed in command. Using DoHotKey, I was able to call an if-then-else construct from a command.
    I am not suggesting you change but you may want to have the work-around documented. I found the ability to execute if-then-else from within an autoexec command worthwhile

    2 indeed, I have tried coding PIP with AlwaysOnTop On for the window which is minimized and maximizing the other window below. But I have no control over the panels z-order, so I would have to reset the panels on top of the windows which is already ontop. furthermoer, if the PIP windows is on top, then it is getting the input stream if the mouse is over it. The region mechanism is working very nicely.
    I could perhaps do away with <SetWinRegion none> which was when I was adjusting windows coordinates and not refreshing the back window
    At one time I had to add a UpdateWin becaus I was not sure ShowWin would eb enough. I could perhaps do away with it.
    Please note that I have choosen minimized dimension which are an exact divide by 6 of the fullscreensize

    3. It is my ON button in the panel HKN create din the autoexec, and updated by the ToggleHotKeys
    Ther is a strange sync bug when I have the HotKeyAreOn call in the autoexec commanbd through the DoHotKey.
    The status is properly read by the DoHotKey, and the panel is updated correctly.
    But, then the first time thetoggle key is pressed, HotKeyAreOn is on but the panel is not updated
    thereafter, everytime the toggle key is presssed the state is updated but the panel is the reverse of what it should be
    It looks like this:
    Autoexec = status is correct (keys are handled or not depending on the state of HKN when load script is invoked / panel is set correctly
    toggle key = status change correctly but panel button does not change
    toggle key = status change correctly, panel toggle (so it is desync)
    toggle Key = status change correctly, panel toggle .....
    A few quick PIP change may bring it back in sync

    Even in window, I can reproduce the desync by hammering at the togglekey for a few seconds, at one point, the panel will display that HKN is active whereas it is not (or viceversa).

    I have tried the Toggle code with the test inlined, and still same desync

    <hotkey pause>
    <sendpc local>
    <ToggleHotkeys>
    // <DoHotkey Hotkey BrowserForward>
    <If HotkeysAreOff>
    <SetButtonColors ON 0x00FF00 0x0F0F0F>
    <SetButtonText ON HKN>
    <Else>
    <SetButtonColors ON 0x0F0F0F 0x00FF00 >
    <SetButtonText ON off>
    <endif>
    <TargetWin HKN>
    <AlwaysOnTop on>
    <UpdateWin>


    4. I lost a few hours debuggin the Z code which on my french Logitech keyboard seems to belong to oem-7 key, I had in my keylist a oem2-8 except Z construct and yet, Z and CTRL-Z, where generated and shown in the loaded HotKeyList

    5. WOW keyboard handling is bizarre to say the least, It took me a while to get that / is CTRL-: . I would have bet that without HKN, / was recognised


    Again, it took more time I would have tought but it is working quite nicely
    Last edited by papounet : 12-04-2009 at 03:26 PM Reason: clarification of which button is faulty

Tags for this Thread

Posting Rules

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