Search found 4370 matches

by evilC
12 Dec 2018, 13:07
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

If you are adding words such as "Open-Word" "Close-Word" etc then while it will work, this is not the best way to do it. You want to build the phrase "[Open|Close] [Word|Excel|Powerpoint]" That way, you need one phrase, and it handle both open or close commands for any of the specified apps. If you ...
by evilC
12 Dec 2018, 10:56
Forum: Gaming
Topic: independent multiple timers
Replies: 8
Views: 135

Re: independent multiple timers

PixelSearch defaults to BGR mode. You are using RGB mode in PixelGetColor, so I guess you also want RGB mode in PixelSearch
PixelSearch, Px, Py, 0, 131, 500, 131, 0x6E050F, 3, fast RGB
by evilC
12 Dec 2018, 10:49
Forum: Ask For Help
Topic: Get last key press
Replies: 7
Views: 88

Re: Get last key press

AHK has no concept of the "last key pressed"
It only has a concept of the "last HOTKEY pressed".
So if you have no 1:: hotkey, A_PriorHotkey will never, ever hold 1
by evilC
12 Dec 2018, 10:34
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

Thinking about it, I suppose it would be entirely possible to write some code such that you could just supply a string in the form "Launch [Word|Excel|PowerPoint]" and it just works it out for you - If I get some time at some point, I will look into it.
by evilC
12 Dec 2018, 10:24
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

Actually, the Choices Example.ahk file is a much simpler example Here is it roughly adapted to what you want (Not tested) #SingleInstance force #Persistent ; You will need this if your script creates no hotkeys or has no GUI ; Load the HotVoice Library #include Lib\HotVoice.ahk ; Create a new HotVoi...
by evilC
12 Dec 2018, 10:17
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

Here is the pertinent code from the demo - it creates the grammar "Call [Anne|Mary|James|Sam] on [his|her] [cell|home|work] phone" Where [his|her] etc is a choice. You would want to set up a grammar like "Launch [Word|Excel|PowerPoint]" contactGrammar := hv.NewGrammar() contactGrammar.AppendString("...
by evilC
12 Dec 2018, 08:45
Forum: Gaming
Topic: need help with a script for a rhythm game
Replies: 1
Views: 79

Re: need help with a script for a rhythm game

There is no such thing as two keys pressed at exactly the same time. One will always be slightly before the other. What makes f FJ j valid but f f j j not valid? Is it the fact that with FJ, j is held before f is released? ie if I understand you correctly, this is valid key sequence for f FJ j (d fo...
by evilC
11 Dec 2018, 18:16
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

That is a common issue with the new version - the DLLs have not been properly unblocked - they get flagged by Windows Download Protection. Newer versions come with a built-in unblocker, but there have been problems with it. You can always run Get-ChildItem -Path '.' -Recurse | Unblock-File as admin ...
by evilC
11 Dec 2018, 14:12
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

All of the Parsec documentation I have seen (eg This page) that refers to UCR refers to the new version of UCR, not this version
And x360ce is not involved at all
by evilC
11 Dec 2018, 14:08
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

Version 0.1.3 released - implemented ghostyzx's request

https://github.com/evilC/HotVoice/releases/tag/v0.1.3

Code: Select all

### Added
- Add StopRecognizer() endpoint
by evilC
11 Dec 2018, 13:56
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

I have no idea what you mean. Merged triggers only occur when READING an xbox controller via the wrong API (DirectInput instead of XInput). Seeing as you are using mouse + keyboard to read input, then that is not at play here. When sending output to vXbox (You are using vXbox right? Not vJoy), there...
by evilC
11 Dec 2018, 13:38
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

Clarify "set up the triggers to be on different axes" . You haven't mentioned what your input device is
by evilC
11 Dec 2018, 13:22
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

This library does not support recognition of arbitrary words - you need to give it a list of all possible application names in order to support this.

See how the demo code implements the "call name on their phone" example
by evilC
10 Dec 2018, 05:49
Forum: Scripts and Functions
Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
Replies: 66
Views: 3967

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

Is a trivial addition. Will add once I get a moment. Have raised an issue to remind me.
https://github.com/evilC/HotVoice/issues/2
by evilC
02 Dec 2018, 16:33
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

"Without rebuilding"? You mean as in import profiles from this UCR to the new one?
Can't be done
by evilC
01 Dec 2018, 09:06
Forum: Ask For Help
Topic: Windows.Media.SpeechSynthesis.SpeechSynthesizer Class
Replies: 10
Views: 288

Re: Windows.Media.SpeechSynthesis.SpeechSynthesizer Class

Honestly, if you are any good with AHK (Especially if you use expression syntax and functions/classes), C# is not hard. In fact, in many ways it is easier - Visual Studio tells you when you made a mistake, and often can tell you how to fix it, or even fix it for you. There are also tons of examples ...
by evilC
01 Dec 2018, 08:39
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

Yes, you can overwrite.
Profiles are stored in UCR.ini, and the distribution ZIP should not contain an INI, so it should be safe to overwrite.
You might want to take backups of all your UCR.ini files
by evilC
22 Nov 2018, 07:13
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 971
Views: 222579

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

You cannot remap joysticks like you can keyboard.
What you want is currently technically impossible.
It will become possible with HidGuardian v4
At the moment, the only way to alter how a game sees a physical xbox controller is with x360ce.
This is a limitation solely with xbox controllers
by evilC
02 Nov 2018, 14:22
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 110
Views: 12745

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

MouseMove will have no effect on most 3d games, as it moves the cursor and most of those games ignore the cursor.
Installing hooks is to do with input, not output
You want to use interception, or send a mouse_event dllcall
by evilC
02 Nov 2018, 11:49
Forum: Ask For Help
Topic: Windows.Media.SpeechSynthesis.SpeechSynthesizer Class
Replies: 10
Views: 288

Re: Windows.Media.SpeechSynthesis.SpeechSynthesizer Class

I tend to do stuff like this in C# code, then call the C# code from AHK using the CLR library: https://autohotkey.com/boards/viewtopic.php?t=4633 See here, I implemented the opposite (Speech recognition): https://autohotkey.com/boards/viewtopic.php?t=34288 The heavy lifting (Interacting with the win...

Go to advanced search