Search found 4778 matches

by evilC
04 Sep 2020, 15:06
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 103
Views: 26943

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)
Replies: 25
Views: 11131

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
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 103
Views: 26943

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
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 103
Views: 26943

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
Replies: 1
Views: 759

* prefix breaking issue

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 103
Views: 26943

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 37
Views: 14368

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
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 103
Views: 26943

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
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94578

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
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94578

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
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94578

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")) ...
by evilC
17 Jan 2020, 16:52
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94578

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
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94578

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
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1006
Views: 518731

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)

Go to advanced search