Search found 4821 matches

by evilC
21 Oct 2020, 04:42
Forum: Gaming Scripts (v1)
Topic: WhiteKnight - Block games from being able to see sticks using ViGEm
Replies: 25
Views: 119283

Re: WhiteKnight - Block games from being able to see sticks using ViGEm

AutoWhitelister.exe is Autohotkey.exe renamed When you run AutoWhitelister.exe, it launches AutoWhitelister.ahk The app minimizes to tray, so maybe why you are seeing no GUI is that it is minimized to the tray. However, this does not sound like what is happening, you should not see any CMD window at...
by evilC
20 Oct 2020, 05:55
Forum: Gaming Scripts (v1)
Topic: WhiteKnight - Block games from being able to see sticks using ViGEm
Replies: 25
Views: 119283

Re: WhiteKnight - Block games from being able to see sticks using ViGEm

If you no longer want to use it, then yes, you should remove it. HG is a driver, HC is a service WhiteKnight can do the uninstall for you - if the button next to each says "Install", then it is not installed and clicking the button will install it. If it is installed, then the button will say "Unins...
by evilC
04 Sep 2020, 15:06
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42634

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

Demo.ahk demonstrates exactly this - two completely separate grammars - "Volume" and "Call Contact", both using the same hotvoice object

Code: Select all

volumeGrammar := hv.NewGrammar()
;...
contactGrammar := hv.NewGrammar()
; ...
by evilC
01 Sep 2020, 09:25
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

1) Nothing stopping that, no 2) Hmm, not entirely sure why that happens, I suppose maybe if you hit the space very quickly after the e, then the callback does not have time to fire before the space is processed. I guess you could add space as a THM key too? 3) Not familiar with it, no 4) Not really ...
by evilC
25 Aug 2020, 09:28
Forum: Scripts and Functions (v1)
Topic: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)
Replies: 29
Views: 27389

Re: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)

My library uses StreamDeckSharp as the underlying library that communicates with the SD, so I doubt it is something I can add support for myself. Maybe ask on their page if it supports GIFs for button images, or if it is a planned feature? Looks like he is still updating it... https://github.com/Ope...
by evilC
07 Aug 2020, 17:35
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42634

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

AHK's Suspend command suspends hotkeys in the same script as the one executing the suspend command, and that script has no hotkeys in it, so clearly it will do nothing.
by evilC
20 Jul 2020, 13:44
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42634

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

If you unzip the zip,all the files should be in the right place and the demo scripts should work.
Are you sure you are downloading a release, or are you maybe using the green "clone or download" button on the main page.
Do you have the DLLs in your zip?
by evilC
20 Jul 2020, 13:38
Forum: Bug Reports
Topic: * prefix breaking issue Topic is solved
Replies: 2
Views: 1682

* prefix breaking issue Topic is solved

There's something odd going on with this code, and the only really pattern that I can see is that using the * prefix seems to cause bugs Specifically, with pfx := "*" , then a press of backspace triggers backspace down:: but a release of backspace triggers ^backspace up:: No such problem with pfx :=...
by evilC
20 Jul 2020, 13:05
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Yeah, I used the following test code and there definitely seems to be something strange going on #NoEnv #Persistent #singleinstance, force #include Lib\TapHoldManager.ahk ;~ Notepad:= new TapHoldManager( 200, 400, 2, "$*","ahk_exe notepad.exe" ) ;~ Notepad:= new TapHoldManager( 200, 400, 2, "$*") No...
by evilC
20 Jul 2020, 11:35
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42634

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

There's only one command in the unblocker ps1 script - just make sure you have an admin powershell prompt active, copy the one line of code from the ps1 file, then paste it into an admin powershell prompt and run it The alternative to even needing the blocker is to unblock the files whilst they are ...
by evilC
09 Jul 2020, 18:55
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

I already did, and it did exactly what you said it should do - double tap of left or right sends home or end, I don't see what the problem is
by evilC
29 Jun 2020, 04:09
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

global is needed because functions have their own local variable space. Without global ahi , the function would not be able to use the ahi variable that was declared outside the function state holds the state of the input key - for a tap, it is always -1, but on a hold, it is 1 when you press the ke...
by evilC
27 Jun 2020, 20:11
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

Only support for the same key is built into the library, but no reason you could not implement that functionality yourself by just subscribing to e and space, and only enabling the space subscription once e was tapped twice #include Lib\TapHoldManager.ahk thm := new TapHoldManager() thm.add("e", fun...
by evilC
22 Jun 2020, 07:50
Forum: Scripts and Functions (v1)
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 113
Views: 44814

Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button

RapidHotkey only supports multi-tap
THM supports multi-tap, long-press, and multi-tap followed by long-press
From what I can tell, THM does everything RapidHotkey does and more
by evilC
31 May 2020, 14:41
Forum: Scripts and Functions (v1)
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 124
Views: 42634

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

Switch syntax is wrong, you need quotes around each option
Case "Word":
by evilC
10 Apr 2020, 14:39
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 200656

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

phasermaniac You appear to be correct https://github.com/evilC/AutoHotInterception/issues/62 I have released AHI 0.5.1 with a fix ### Added - AHI now supports scripts being compiled. You will still need the DLLs from the Lib folder, but not the AHK scripts ### Fixed - Fix issue 62 - x=0/y=0 never r...
by evilC
20 Jan 2020, 06:24
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 200656

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

i Moved the F7:: command to auto-execute section, but is not working as itended. If i place a While after if (!state), script runs forever. If i remove While, it runs only once.It seems loop is not properly set up. This is because you do not understand how threading works in AHK. Your first example...
by evilC
18 Jan 2020, 06:26
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 200656

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

Move the subscribe command to the auto-execute section AHI := new AutoHotInterception() keyboardId := AHI.GetKeyboardId(0x0E8F, 0x0041) ; The "true" parameter in SubscribeKey tells AHI to BLOCK (Hide from the OS) this key. AHI.SubscribeKey(keyboardId, GetKeySC("NumpadHome"), true, Func("KeyEvent")) ...

Go to advanced search