Search found 4688 matches

by evilC
17 Jun 2019, 07:15
Forum: Scripts and Functions
Topic: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick buttons
Replies: 9
Views: 2159

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

THM on it's own will not detect two long presses followed by a short press, you would have to code that yourself. Here is how to detect multi-tap and mult-tap followed by long-press #include Lib\TapHoldManager.ahk #SingleInstance force thm := new TapHoldManager() thm.Add("4", Func("MyFunc")) MyFunc(...
by evilC
17 Jun 2019, 07:05
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 518

Re: Remap joystick (axis) to turn around how to use

None of the releases on the vJoy site use test mode
https://sourceforge.net/projects/vjoystick/
by evilC
08 Jun 2019, 14:22
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 222
Views: 29578

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

v0.4.2 has been released
https://github.com/evilC/AutoHotInterception/releases/tag/v0.4.2
This fixes a major bug with mouse button support

There is slightly more processing going on for mouse buttons - please let me know if you see degradation in performance / responsiveness
by evilC
30 May 2019, 10:28
Forum: Gaming
Topic: Re-input clicks from a Wacom tablet as having come from a mouse.
Replies: 1
Views: 119

Re: Re-input clicks from a Wacom tablet as having come from a mouse.

A wacom tablet is an absolute input device and is fundamentally different to a mouse. See my autohotinterception library (link in sig) - this will allow you to read the absolute data coming from the wacom, then you could send mouse relative data You would need the "Subscription Mode" commands You al...
by evilC
30 May 2019, 05:13
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 518

Re: Remap joystick (axis) to turn around how to use

Test mode ?!?! VJoy should be a signed driver, you should not need test mode. Where did you get it from? Be wary, it could be malicious
by evilC
29 May 2019, 05:58
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 518

Re: Remap joystick (axis) to turn around how to use

Oh sorry, yeah I think it is 1903 - the one that just came out
by evilC
29 May 2019, 05:06
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 14
Views: 427

Re: Axis Pushes Keyboard Keys When Axis Is Moved

Use a proper IDE such as scite4ahk or akstudio and use the debugger
Or use outputdebug command plus ms debugview
Or use the tooltip or msgbox commands
by evilC
29 May 2019, 04:35
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 14
Views: 427

Re: Axis Pushes Keyboard Keys When Axis Is Moved

No, 1JoyY is 1st stick
Use PJP Joyids app (Google it) to see joy ids
by evilC
29 May 2019, 04:05
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 518

Re: Remap joystick (axis) to turn around how to use

Are you on win 1809? There is an open issue for vJoy reporting install issues
by evilC
29 May 2019, 03:47
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 14
Views: 427

Re: Axis Pushes Keyboard Keys When Axis Is Moved

Joy2X is invalid syntax
Joystick 2, axis x is 2JoyX
What I was looking forwas something like "the variable Joy2X is always empty"
Just saying "it doesn't work" gave me zero useful info - as a career coder you should really know that
by evilC
29 May 2019, 03:26
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 14
Views: 427

Re: Axis Pushes Keyboard Keys When Axis Is Moved

What, exactly does not work?
by evilC
28 May 2019, 13:55
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 518

Re: Remap joystick (axis) to turn around how to use

Hmm, you appear to be right, it doesn't work, I swear I did it in the past...
Your only option then is to use vJoy and feed the vJoy stick with the inverse of the axes
by evilC
28 May 2019, 13:00
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 314
Views: 75564

Re: FindText - Capture screen image into text and then find it Topic is solved

if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0, 0, PicN(FindName), 1, 1, JoinText:=1)) This function is clearly returning false when you expect it to return true, as that is the only way that you could get the "Not Found" msgbox PicN(FindName) refers to an image. What is in the image when ...
by evilC
28 May 2019, 12:43
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 314
Views: 75564

Re: FindText - Capture screen image into text and then find it Topic is solved

So in your code, I am assuming that ok := FindText(...) is returning false, when you expect it to return true?
by evilC
28 May 2019, 12:21
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 314
Views: 75564

Re: FindText - Capture screen image into text and then find it Topic is solved

Dude... it's 2000 lines of code! If you cannot boil your problem down to less code, or at the very least say "when line X executes, I am expecting Y to happen but Z happens", I simply cannot be bothered...
by evilC
28 May 2019, 12:06
Forum: General Discussion
Topic: Down at the AHK gun store...
Replies: 2
Views: 251

Down at the AHK gun store...

A little doodle I did today...
Image
by evilC
28 May 2019, 11:41
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 314
Views: 75564

Re: FindText - Capture screen image into text and then find it Topic is solved

I don't really have the time to analyse what all the code is doing
https://autohotkey.com/docs/commands/RegExMatch.htm#Examples
3rd example shows how to use case-insensitive matching
by evilC
28 May 2019, 11:34
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 314
Views: 75564

Re: FindText - Capture screen image into text and then find it Topic is solved

WRT FindText not being case-insensitive, at a glance it looks like the RegexMatch commands are not using case-insensitive mode

Add i) to the start of the match pattern
by evilC
28 May 2019, 11:22
Forum: Ask For Help
Topic: MouseHook causes severe input issues for hotkeys which do not use it
Replies: 10
Views: 357

Re: MouseHook causes severe input issues for hotkeys which do not use it

In all my years of coding AHK, I have never, ever seen ANY code that uses KeyWait which cannot be done in a more robust manner. A short timeout is not bad, but a KeyWait with no timeout is bad code, period IMHO

Go to advanced search