Hallo elmulti, vielen Danke für deine Hilfe!
I want to show my particular recognition to your answer on page 8. Your script is very nice, although has some difficulties I hope they will be surmonted.
1. A window appears occasionally that disables only the scrolling of wheels, not the other functions of mouse, with the following message:
GetWM_INPUTHIDData failed. Errorcode: 0
Clicking on button "Okey", the window disappears and the script continues well. This occasional window is permanently disabled removing the next lines of code:
Code:
; if (errorlevel <> 0) || (nRC == 0xFFFFFFFF)
; {
; MsgBox GetWM_INPUTHIDData failed. Errorcode: %errorlevel%
; goto cleanup
; }
And the script runs fine.
2. The initial deactivation of wheels is apparently right. Eliminating the following code, or adding ~ at first of each line:
Code:
$WheelUp::
$WheelDown::
; do nothing
Return
causes the new mouse front wheel assignments not to function. V.g. in Explorer and Notepad the wheel scrolls upwards-left or downwards-right simultaneously, and in Office 2007 (Word, Excel, PowerPoint) and Mozilla Firefox scrolls only vertically, not horizontally. The rear wheel (vertical scroll) works fine.
3. Conserving this previous code, both wheels work well in most of my applications, but the front wheel (horizontal scroll) doesn't run (it's motionless) in Office 2007 applications and Firefox (ok in Microsoft Internet Explorer). I've tried it works introducing the directive #IfWinActive and ahk_classes into Word (ahk_class OpusApp), Excel (ahk_class XLMAIN), PowerPoint (ahk_class PP12FrameClass), and Firefox (ahk_class MozillaUIWindowClass), in vain.
Can you or somebody please help me with this?
4. Both wheels works fine, according to Ucla's request on page 8:
FOREMOST WHEEL upward send, {w}
FOREMOST WHEEL downward send, {s}
REARWHEEL upward send, {e}
REARWHEEL downward send, {d}
But if Caps Lock or Shift keys are pressed the result is always lowercase letters.
5. All the previous one is for Windows-32 bit. Micha's AutohotkeyRemoteControl.dll and AutoHotkeyRemoteControlDLL.ahk (and elmulti's script) do not work on Windows Vista x64 bit. In Micha's script, after I hit "Register" button, and then press any key or mouse click, Windows closes inopportunely AutoHotkeyRemoteControlDLL.ahk. The Windows message is:
"AutoHotkey has stopped working
Windows can check online for a solution the problem"
Then gives these two options:
"Check online for a solution and close the program.
Close the program"
Details:
"Problem signature:
Problem Event Name: APPCRASH
Application Name: Autohotkey.exe
..."
elmulti's script is also immediately closed after some movement of mouse, then appears that message. But Windows doesn't close my script Autohotkey.ini (with other hotkeys), and Autohotkey.exe continues running ok. But if I introduce the code from elmulti's script in my script, it crashes. Micha's DLL and scripts are only for Windows-32 bit.
When we will have a version of 64 bits of that fabulous dll?
With best of best regards.
Sorry my English.