Search found 13 matches
- 15 Sep 2023, 11:16
- Forum: Bug Reports
- Topic: Remapping Alt key is unreliable
- Replies: 10
- Views: 1351
Re: Remapping Alt key is unreliable
Should I invest time in investigating this problem further, or is my expectation flawed? My expectation is that it is possible to remap the Right Alt key reliably - and it seems to work fine when using ControlSendText. But a general solution to send characters which are not on the keyboard that work...
- 13 Sep 2023, 03:49
- Forum: Bug Reports
- Topic: Remapping Alt key is unreliable
- Replies: 10
- Views: 1351
Re: Remapping Alt key is unreliable
My suspicion is that the keyboard hook becomes disabled for some reason here. When reading the following: https://www.autohotkey.com/docs/v2/lib/Send.htm#Remarks Characters vs. keys : By default, characters are sent by first translating them to keystrokes. If this translation is not possible (that i...
- 12 Sep 2023, 03:50
- Forum: Bug Reports
- Topic: Remapping Alt key is unreliable
- Replies: 10
- Views: 1351
Re: Remapping Alt key is unreliable
The timing in the KeyHistory indicates that the "i" events are being sent by SendText "ü" . If you insert a short sleep (perhaps >= 20) after SendText "ü" and the subsequent "i" event still shows 0.00, that would more or less confirm it. I can't see the reason that these events are sent, though, an...
- 11 Sep 2023, 15:32
- Forum: Bug Reports
- Topic: Remapping Alt key is unreliable
- Replies: 10
- Views: 1351
Re: Remapping Alt key is unreliable
It seems I was somewhat wrong about the problem. It is not related to the Alt key at all, but to two keys being pressed in very quick succession. The following fails very often (on an old & slow i5 machine). I can provoke it by pressing 3 and 4 at the same time very quickly. #Requires AutoHotkey v2....
- 11 Sep 2023, 06:37
- Forum: Wish List
- Topic: Combined hotkeys vkXXscYYY
- Replies: 2
- Views: 891
Re: Combined hotkeys vkXXscYYY
GetKeyboardLayout is surely a very fast call. There is probably a higher, but still insubstantial, cost to DllCall itself. I think it's also possible to listen for changes to the input language with OnMessage. Implementing vkXXscYYY will likely be difficult. The hotkey recognition code is designed ...
- 07 Sep 2023, 11:43
- Forum: Bug Reports
- Topic: Remapping Alt key is unreliable
- Replies: 10
- Views: 1351
Remapping Alt key is unreliable
I use the following script with RAlt as a dead key to type accented letters on a US keyboard. This works, but often, especially when typing fast, in Windows Notepad, the menu is opened. So it seems the Alt key event masking fails sometimes. #Requires AutoHotkey v2.0.7+ #Warn All KeyHistory 500 #Sing...
- 06 Sep 2023, 09:00
- Forum: Wish List
- Topic: Combined hotkeys vkXXscYYY
- Replies: 2
- Views: 891
Combined hotkeys vkXXscYYY
I would like to have keyboard-layout dependent hotkeys for a very limited number of layouts, e.g. ^B on a US layout and ^+F on a German layout. I know how to achieve this using DllCall("GetKeyboardLayout") and similar functions, but it is cumbersome to manage and sub-optimal performancewise to call ...
- 31 Aug 2023, 11:29
- Forum: Bug Reports
- Topic: Remapped modifier key not firing for HotIf variant Topic is solved
- Replies: 6
- Views: 1006
Re: Remapped modifier key not firing for HotIf variant Topic is solved
this works as expected in V2 #Requires AutoHotkey v2.0 #SingleInstance force #Warn All some_condition := true #HotIf ; Hotkey for all windows b::LShift ; Maybe the sc nr is the bug #HotIf (some_condition) ; Hotkey If condition is true +a::Send("Ä") ; Press b & a gives Ä a::Send("ä") ; press a Gives...
- 31 Aug 2023, 05:26
- Forum: Bug Reports
- Topic: Remapped modifier key not firing for HotIf variant Topic is solved
- Replies: 6
- Views: 1006
Re: Remapped modifier key not firing for HotIf variant Topic is solved
this works as expected in V2 #Requires AutoHotkey v2.0 #SingleInstance force #Warn All some_condition := true #HotIf ; Hotkey for all windows b::LShift ; Maybe the sc nr is the bug #HotIf (some_condition) ; Hotkey If condition is true +a::Send("Ä") ; Press b & a gives Ä a::Send("ä") ; press a Gives...
- 24 Aug 2023, 05:40
- Forum: Bug Reports
- Topic: Remapped modifier key not firing for HotIf variant Topic is solved
- Replies: 6
- Views: 1006
Remapped modifier key not firing for HotIf variant Topic is solved
I tried to map a key to behave like an additional Shift key. In addition, I also want to use conditional hotkeys (for demonstration, I have used a static condition which is always true here) some_condition := true sc056::LShift #HotIf (some_condition) +a:: Send "Ä" a:: Send "ä" When pressing sc056 +...
- 12 Sep 2022, 04:05
- Forum: Wish List
- Topic: CompanyName value in version information resource Topic is solved
- Replies: 2
- Views: 760
Re: CompanyName value in version information resource Topic is solved
I created a pull request for this, https://github.com/Lexikos/AutoHotkey_L/pull/301
- 08 Sep 2022, 07:55
- Forum: Wish List
- Topic: CompanyName value in version information resource Topic is solved
- Replies: 2
- Views: 760
CompanyName value in version information resource Topic is solved
lexikos AutoHotkey is affected by a strange Windows 10 feature (or bug), which I just confirmed in Windows 10 21H2. A program without a CompanyName value in VERSIONINFO does not appear in the context menu for "Open with". The problem is described in detail here: https://superuser.com/questions/1199...
- 07 Sep 2022, 04:30
- Forum: Bug Reports
- Topic: [1.1.34.04] ahk2exe does not include standard library when compiling for 32-bit Topic is solved
- Replies: 1
- Views: 564
[1.1.34.04] ahk2exe does not include standard library when compiling for 32-bit Topic is solved
When compiling a script for Unicode 32-bit (on a 64-bit system), the standard library directory (directory-of-the-currently-running-AutoHotkey.exe\Lib\) is not used. Example: HtmlClip.ahk contains #Include <WinClipAPI> WinClipAPI.ahk is in C:\ProgramData\TH\AutoHotkey\Lib The following command line ...