StryfeS13 / uawks

Automatically exported from code.google.com/p/uawks
0 stars 0 forks source link

Cannot open UAWKS.ahk #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. After installation, when trying to start the uawks.ahk
2. Manually opening uawks.ahk
3.

What language do you use? US English

What keyboard layout do you use? QWERTY

What version of the product are you using? On what operating system? 2008.09.17 
 Windows 7 Ultimate 64 bit

Error in #include file "C:\Program Files (x86)\Unofficial Apple Wireless 
Keyboard Support (Source)\FnMapper.ahk":
A Goto cannot jump from inside a function to outside.

Line#
056: WinHide,FnMapper
060: {
061: DeviceNr = -1
062: nRC :=
DllCall("AutohotkeyRemoteControl\GetWM_INPUTDataType", UINT, wParam, UINT, 
IParam, "INT *", DeviceNr, "Cdecl UInt")
063: if (errorlevel <> 0_ || (nRC == 0xFFFFFFFF)
064: {
065: MsgBox,GetWM)INPUTHIDData fehlgeschlagen. Errorcode: %errorlevel%
--->  066: Goto,cleanup
067: }
069: if nRC = 2
070: {
071: ProcessHIDData(wParam, IParam)
072: }
073: Else
074: {

The program will exit

Original issue reported on code.google.com by azhu.pho...@gmail.com on 28 Jun 2011 at 3:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Same here!

Original comment by feelthet...@gmail.com on 8 Aug 2011 at 5:19

GoogleCodeExporter commented 8 years ago
Same from me. Using Windows 7 and standard 32-bit install of Auto HotKey.
UAWKS Source 2008.09.17

Original comment by b...@crouchingbadger.com on 8 Jan 2012 at 1:56

GoogleCodeExporter commented 8 years ago
I went back to the standalone 2008.09.17 and all is working fine.

Original comment by b...@crouchingbadger.com on 8 Jan 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Standalone works, but if you want to make your own key bindings need to run 
Autohotkey then uawks.ahk and I get the same error everyone else is getting! So 
can't run from source unfortunately! Author please help! And thank you for your 
effort!

Original comment by ducali...@gmail.com on 30 May 2012 at 2:34

GoogleCodeExporter commented 8 years ago
From what I remember, the problem is that later version of AutoHotkey break 
UAWKS (Source). You'll need to find an older version that works, probably 
around the 1.0.3 mark

AutoHotkey are uploading older versions here: 
http://www.autohotkey.com/board/topic/86134-autohotkey-10-classic-and-basic-vers
ions/ but as of the time of this comment, they haven't finished uploading them 
(but if you're reading this from the future, they may be up)

Original comment by samrenf...@gmail.com on 31 Oct 2012 at 9:43

GoogleCodeExporter commented 8 years ago
Yes, and same from me. I tested this versions. No working. Please, give us 
tested version of UAWKS Source with working AutoHotkey link. Pleaseee..

Original comment by ildar.gu...@gmail.com on 3 Nov 2012 at 4:56

GoogleCodeExporter commented 8 years ago
Windows 7 x64,UAWKS source not working with AutoHotkey.

Original comment by ildar.gu...@gmail.com on 3 Nov 2012 at 4:57

GoogleCodeExporter commented 8 years ago
Same...

Original comment by shinobicorp on 6 Dec 2012 at 12:06

GoogleCodeExporter commented 8 years ago
src/FnMapper.ahk Line 55.

Change goto for gosub..

InputMsg(wParam, lParam, msg, hwnd) 
{
  DeviceNr = -1
  nRC := DllCall("AutohotkeyRemoteControl\GetWM_INPUTDataType", UINT, wParam, UINT, lParam, "INT *", DeviceNr, "Cdecl UInt")
  if (errorlevel <> 0) || (nRC == 0xFFFFFFFF) 
  {
    MsgBox GetWM_INPUTHIDData fehlgeschlagen. Errorcode: %errorlevel%
    gosub cleanup
  }
  ;Tooltip, %DeviceNr%
  ifequal, nRC, 2
  {
    ProcessHIDData(wParam, lParam)
  }
  else 
  {
    MsgBox, Error - no HID data
  }
}
Return

Original comment by shinobicorp on 6 Dec 2012 at 12:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks so much, shinobicorp!

Original comment by julian-k...@gmx.net on 14 Dec 2012 at 12:44

GoogleCodeExporter commented 8 years ago
Hey shinobicorp - please can you tell me how to find src/FnMapper.ahk on a 
Windows 8 machine?  I would like to edit it, I just don't know where it is!

Original comment by mattwill...@gmail.com on 23 Mar 2013 at 6:14