Search found 4457 matches
- 09 Jan 2019, 07:47
- Forum: Ask For Help
- Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
- Replies: 43
- Views: 1176
Re: How to assign PF13 thru PF24 as Shift+PF1-12?
OK, so if the first script worked, that tells me that the AS/400 tool reacts to "synthetic" keys that do not appear to come from a keyboard (Which is how AHK synthesizes output). This means that we should probably *not* need AHI. I am unsure about how F13-24 are actually implemented - I have heard a...
- 08 Jan 2019, 06:08
- Forum: Ask For Help
- Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
- Replies: 43
- Views: 1176
Re: How to assign PF13 thru PF24 as Shift+PF1-12?
What heppens if you run this script? Does pressing Tab behave exactly as if you physically pressed Shift+F1? SetKeyDelay, 0, 50 tab:: Send +{F1} return Try running the script as admin also. If it does *not* behave as if you physically pressed Shift+F1, then it doesn't sound like what you want is pos...
- 08 Jan 2019, 05:55
- Forum: Ask For Help
- Topic: USB Barcode Capture Revisited
- Replies: 20
- Views: 493
Re: USB Barcode Capture Revisited
Something like this (Untested) would reduce a LOT of duplicate code and run-time pointless processing: #SingleInstance force Chars = 0123456789abcdefghijklmnopqrstuvwxyz!""$`%^&*()_+=-``\|,./;'#[]{}:@~<>? Loop, Parse, Chars { fn := Func("BarcodeHandler").Bind(A_LoopField) Hotkey, % "$~" A_LoopField,...
- 08 Jan 2019, 05:13
- Forum: Ask For Help
- Topic: Touchscreen Input?
- Replies: 4
- Views: 180
Re: Touchscreen Input?
I don't think AHK allows you to get at absolute mouse input. You could get at the data using the RawInput API, or using my AutoHotInterception library (See link in Signature). However, these coordinates will be in the "global screen space", which is one 65k square. This then needs to be mapped to yo...
- 08 Jan 2019, 04:56
- Forum: Ask For Help
- Topic: USB Barcode Capture Revisited
- Replies: 20
- Views: 493
Re: USB Barcode Capture Revisited
No, they just behave as if a keyboard typed the characters encoded in the barcode.
- 07 Jan 2019, 14:38
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
I don't think you actually need to reboot. I think all you need to do is replug your keyboard to force it to load the new driver.
- 07 Jan 2019, 14:29
- Forum: Ask For Help
- Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
- Replies: 43
- Views: 1176
Re: How to assign PF13 thru PF24 as Shift+PF1-12?
I dunno why ControlSend was recommended. IMHO, The only real use-cases that I see for ControlSend is when trying to send input to a specific application (That's inactive), or interact with a specific control in a window. If you just want to behave as if a key was pressed on the keyboard, just use Se...
- 07 Jan 2019, 12:50
- Forum: Ask For Help
- Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
- Replies: 43
- Views: 1176
Re: How to assign PF13 thru PF24 as Shift+PF1-12?
Ah, I just read a bit more of the thread, and it seems that you are indeed able to get AHK to recognize an F13 press on your keyboard - I was suggesting AHI because I thought you couldn't, and I know that AHI should be able to. From reading this bit more, it seems like you are trying to use ControlS...
- 07 Jan 2019, 09:59
- Forum: Ask For Help
- Topic: USB Barcode Capture Revisited
- Replies: 20
- Views: 493
Re: USB Barcode Capture Revisited
Alternatively, another way around it would be to use AutoHotInterception (See link in signature). That way, you could differentiate keys coming from the scanner to keys coming from your normal keyboard, and you could instruct AHI to block (Not pass through to OS) all hotkeys that come from the scann...
- 07 Jan 2019, 09:56
- Forum: Ask For Help
- Topic: USB Barcode Capture Revisited
- Replies: 20
- Views: 493
Re: USB Barcode Capture Revisited
I rarely have an actual piece of paper - you can scan a barcode from a screen just fine. There should be *some* way to set it, you just need to work out what the actual make/model is, or what the chipset used is. It may even send a non-printable character by default. Personally, if I bought a scanne...
- 07 Jan 2019, 09:10
- Forum: Ask For Help
- Topic: USB Barcode Capture Revisited
- Replies: 20
- Views: 493
Re: USB Barcode Capture Revisited
The best way to handle Barcode input is to set your scanner to have a pre-amble (Key that scanner sends at beginning of scan) / post-amble (Key that scanner sends at end of scan) Then you do not need to bother with any of this A_TimeSincePriorHotkey nonsense to be able to tell the difference between...
- 07 Jan 2019, 08:57
- Forum: Ask For Help
- Topic: How to assign PF13 thru PF24 as Shift+PF1-12?
- Replies: 43
- Views: 1176
Re: How to assign PF13 thru PF24 as Shift+PF1-12?
If vanilla AHK cannot do it, you can probably do it using AutoHotInterception https://www.autohotkey.com/boards/viewtopic.php?t=45307
- 04 Jan 2019, 06:30
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Does this repro with only one keyboard plugged in?
- 03 Jan 2019, 17:25
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Regarding the # directives - you need the #if cm1.IsActive to differentiate devices, but I am not sure you could nest an #IfWinActive I think something like #if cm1.IsActive && WinActive("blah") may work I will have to investigate the lockups on sleep issue, can't say that I have ever seen anything ...
- 03 Jan 2019, 13:50
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
So the AHI script is running while the computer goes into sleep, then upon resume from sleep, the mouse is locked up?
- 31 Dec 2018, 06:15
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
There is no point in trying to get AHI scripts to work if the monitor does not work. You likely need to update other runtimes as well - I think Interception needs one of the Visual C Redistributables. Basically, I make no effort to support legacy OSes - if you want to use one, you should update ever...
- 30 Dec 2018, 19:07
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
I am not sure WinXp even had download protection.... https://docs.microsoft.com/en-us/dotnet/framework/install/on-windows-xp WinXp supports up to .NET 4.0.3, I think AHI uses like 4.2 or something, so I would imagine it is not compatible with WinXP Regarding Win7, as the dialog says, the other way t...
- 30 Dec 2018, 09:44
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Did you run unblocker.ps1 as admin?
- 24 Dec 2018, 04:10
- Forum: Scripts and Functions
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 185
- Views: 18261
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Ah, it seems like I made a bit of a mistake when doing one of the wrappings.
For now, you can use AHI.SubscribeMouseMoveRelative(mouseID, true, Func("MouseEvent"))
It will be fixed in the next release.
For now, you can use AHI.SubscribeMouseMoveRelative(mouseID, true, Func("MouseEvent"))
It will be fixed in the next release.
- 22 Dec 2018, 12:03
- Forum: Ask For Help
- Topic: Variables in subroutines from functions
- Replies: 12
- Views: 460
Re: Variables in subroutines from functions
Also be aware that -0 is valid and means "When this thread ends".
It would NOT do it as soon as it hit the SetTimer line, it would wait until it hits a return, *then* execute the timer function.
It would NOT do it as soon as it hit the SetTimer line, it would wait until it hits a return, *then* execute the timer function.