Search found 4821 matches

by evilC
17 Jan 2020, 16:52
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

AHI monitor gives code 71 when i press that button Then you already have the key code and don't need to use GetKeySC() to find the code from the name the double colon execute the script when proper button is pressed. (at least that supposed to do) No, double colon syntax is specific to AHK hotkeys,...
by evilC
17 Jan 2020, 16:29
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Much WTF in that script. AHI.SendKeyEvent(keyboardId, GetKeySC("71"), 1) :: GetKeySC("71") there is no such key as "71" :: Why is there a double-colon here?? Even if the SendKeyEvent command did work, all the code would do is press and hold one key for ever, so no idea why you would want that It loo...
by evilC
17 Jan 2020, 07:46
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 831096

Re: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018

Your problem is going to be hiding the input from the game
When in "smooth pan" mode, you need to stop the game from seeing the normal input and generate your own
This would require something like windows hooks or AutoHotInterception (see link in sig)
by evilC
17 Jan 2020, 07:40
Forum: Gaming Help (v1)
Topic: Game blocking mouse clicks from AHK
Replies: 9
Views: 4978

Re: Game blocking mouse clicks from AHK

Run the script as admin
by evilC
17 Jan 2020, 07:40
Forum: Gaming Help (v1)
Topic: Minecraft - problem with MoveMouse
Replies: 2
Views: 2014

Re: Minecraft - problem with MoveMouse

Most mouse aim games do not take input from the CURSOR, they take input from the mouse (Not the same thing)
MouseMove does not simulate mouse input, it simulates cursor movement
You need the mouse_event DllCall
by evilC
13 Jan 2020, 12:55
Forum: Gaming Help (v1)
Topic: Rapid fire stucks
Replies: 13
Views: 4753

Re: Rapid fire stucks

With just that code it gets stuck? Steps to reproduce?
by evilC
13 Jan 2020, 08:52
Forum: Ask for Help (v1)
Topic: Remap driver level key combinaison
Replies: 1
Views: 426

Re: Remap driver level key combinaison

AutoHotInterception (See link in Sig) will let you remap keys at a driver level
by evilC
13 Jan 2020, 04:42
Forum: Gaming Help (v1)
Topic: Rapid fire stucks
Replies: 13
Views: 4753

Re: Rapid fire stucks

Then just do

Code: Select all

*e::
If (eState)
   Return
eState := 1
SetTimer, Attack, 200
Return

*e up::
eState := 0
SetTimer, Attack, Off
Return
Using KeyWait to detect key up WILL CAUSE BUGS AND STICKING ISSUES. This technique doesn't
by evilC
09 Jan 2020, 18:54
Forum: Gaming Help (v1)
Topic: Rapid fire stucks
Replies: 13
Views: 4753

Re: Rapid fire stucks

It's pointless to use KeyWait to detect release of a key when you can just use an up event hotkey

Code: Select all

#MenuMaskKey vkFF
#InstallKeybdHook

SendMode, Input

Attack() {
    Send e
}

*e::
    SetTimer Attack, 200
    return

*e up::
    SetTimer Attack, Off
    return
by evilC
09 Jan 2020, 12:14
Forum: Gaming Help (v1)
Topic: Rapid fire stucks
Replies: 13
Views: 4753

Re: Rapid fire stucks

My guess is that it's nothing to do with GetKeyState not returning what it should, it's some other flaw in your code. When you say you also tried KeyWait, that's a huge red flag to me, indicating that you have blocking waits in your code, which is guaranteed to cause intermittent bugs in some scenar...
by evilC
07 Jan 2020, 18:25
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42662

Re: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)

The powershell script needs to be run as admin
A simpler solution is just to right click the zip, select properties, check the unblock checkbox, then unzip the zip
by evilC
04 Jan 2020, 04:20
Forum: Gaming Help (v1)
Topic: Game randomly skips inputs
Replies: 1
Views: 780

Re: Game randomly skips inputs

SetKeyDelay is what you want, but it's incompatible with SendInput (Your current SetKeyDelay command does nothing because you used SendInput)
Replace all instances of SendInput with Send
by evilC
04 Jan 2020, 04:02
Forum: Gaming Help (v1)
Topic: Speedlink SL-6696 steering wheel with pedals
Replies: 1
Views: 678

Re: Speedlink SL-6696 steering wheel with pedals

AHK has no built-in support for virtual joysticks, period. If you are seeing stuff on the internet that seemed to indicate AHK could do this, you were probably looking at stuff referring to the AHK version of UCR , which has special libraries to handle this. That version of UCR is no longer supporte...
by evilC
02 Jan 2020, 06:20
Forum: Ask for Help (v1)
Topic: Wacom pen / mouse wheel emulation
Replies: 1
Views: 1214

Re: Wacom pen / mouse wheel emulation

AHK cannot differentiate input coming from one mouse-like device than another It also cannot block input coming from one device, but not block input coming from another Also, the WACOM tablet will be likely sending Absolute mouse data, not relative All of these issues can be solved using AutoHotInte...
by evilC
30 Dec 2019, 04:03
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

It's because of the way compiled scripts work, AHI was not designed to work with compiled scripts
I made some changes, I think it should work if you use this newer version of AutoHotInterception.ahk: https://raw.githubusercontent.com/evilC/AutoHotInterception/master/Lib/AutoHotInterception.ahk
by evilC
15 Dec 2019, 18:13
Forum: Wish List
Topic: InputHook small improvement - different keyboards
Replies: 6
Views: 4860

Re: InputHook small improvement - different keyboards

AHI 0.5.0 now has a function to subscribe to all keys on a specific keyboard
by evilC
15 Dec 2019, 17:28
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

AHI v0.5.0 has been released! Added SubscribeKeyboard and SubscribeMouseButtons to subscribe to all keys or buttons on a device The old undocumented Monitor class has been removed, Monitor.ahk now uses the new SubscribeKeyboard / SubscribeMouseButtons functions Added some development tools to help m...
by evilC
15 Dec 2019, 16:20
Forum: Bug Reports
Topic: InputHook sees multiple press/release events for single press of NumLock
Replies: 1
Views: 2442

InputHook sees multiple press/release events for single press of NumLock

#SingleInstance force Sleep 100 ; When hitting F5 to run script in SciTE, release of F5 appears in list. Suppress ih := InputHook() ih.KeyOpt("{All}", "SN") ih.OnKeyDown := Func("AhkKeyEvent").Bind(1) ih.OnKeyUp := Func("AhkKeyEvent").Bind(0) ih.Start() Gui, Add, ListView, h200, Key Name|SC|State L...
by evilC
15 Dec 2019, 12:41
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

scriptors wrote:
09 Dec 2019, 15:10
Sorry but I can't install and work with AutoHotInterception … strange but true :(

I use Autohotkey_H (on Win10 64) and if i try Monitor.ahk have this:
I will try and look into it
Raised issue: https://github.com/evilC/AutoHotInterception/issues/56
by evilC
15 Dec 2019, 12:40
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 201015

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

dsieburgh wrote:
15 Dec 2019, 05:36
The Pause/Break Key. Using the Monitor AHK you provided, if I press Pause/Break it shows Numlock(1/0 states)+LControl(4/5 states) and when I only press Numlock I get Numlock Keyname (just 0/1 states).
Confirmed, this is a bug.
Raised issue: https://github.com/evilC/AutoHotInterception/issues/55

Go to advanced search