Search found 4822 matches
- 24 Jul 2019, 14:15
- Forum: Ask for Help (v1)
- Topic: Wait function Topic is solved
- Replies: 11
- Views: 1489
Re: Wait function Topic is solved
Your first if just checks if ErrorLevel is "true", which both 1 (Found) and 2 (Error) are The second IF check is also always true as you check if something is itself: If ( p_DesiredColor = p_DesiredColor ) I think you want If ( ErrorLevel == 2 ) ; Error Return ( p_ReturnColor ? p_DesiredColor : 1 ) ...
- 24 Jul 2019, 12:47
- Forum: Ask for Help (v1)
- Topic: Wait function Topic is solved
- Replies: 11
- Views: 1489
Re: Wait function Topic is solved
You can return whatever you like from your own function, and these values do not need to be the same as the ERRORLEVEL codes from PixelSearch Your PixelSearch seems wrong though, surely instead of l_OutputColor you want p_DesiredColor? As you have a bunch of parameters for the function anyway, may a...
- 24 Jul 2019, 12:24
- Forum: Ask for Help (v1)
- Topic: Wait function Topic is solved
- Replies: 11
- Views: 1489
Re: Wait function Topic is solved
Maybe you want the PixelSearch command?
- 24 Jul 2019, 07:18
- Forum: Ask for Help (v1)
- Topic: Wait function Topic is solved
- Replies: 11
- Views: 1489
Re: Wait function Topic is solved
Most of the PixelGetColor commands will do nothing PixelGetColor, l_OutputColor, %p_PosX%, %p_PosY%, %p_GetMode% does not in any way check if a certain pixel is a certain colour, all it does is get the colour of a pixel at a certain coordinate and store it in a variable. The lines below... If ( Erro...
- 24 Jul 2019, 06:11
- Forum: Ask for Help (v1)
- Topic: Wait function Topic is solved
- Replies: 11
- Views: 1489
Re: Wait function Topic is solved
All those ERRORLEVEL checks make little sense to me. ERRORLEVEL is only likely to be true if you do something like checking colour of a pixel that is not a valid coordinate. It's nothing to do with whether the pixel is the colour you are look for, for example, because that's not what PixelGetColor d...
- 24 Jul 2019, 06:06
- Forum: Ask for Help (v1)
- Topic: Help With Random WSAD Keypresses
- Replies: 5
- Views: 1335
- 23 Jul 2019, 05:46
- Forum: Gaming Help (v1)
- Topic: SetKeyDelay problem in DS3 autofarm script
- Replies: 1
- Views: 756
Re: SetKeyDelay problem in DS3 autofarm script
It's quite a lot of code, not really analysed it much, but there appears to be a lot of loops in hotkeys. Are you expecting any of these loops to be running at the same time? Cos that won't work and may exhibit odd behaviour such as "stuck" keys. If you want a robust way to perform ongoing repeated ...
- 18 Jul 2019, 14:21
- Forum: Scripts and Functions (v1)
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 345
- Views: 206915
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
AHI 0.4.5 has been released
### Added
- Added TabletButtons demo for converting a graphics tablet into a button box
### Fixed
- Absolute Mode mouse movement subscriptions now work again
### Added
- Added TabletButtons demo for converting a graphics tablet into a button box
### Fixed
- Absolute Mode mouse movement subscriptions now work again
- 09 Jul 2019, 09:05
- Forum: Scripts and Functions (v1)
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 345
- Views: 206915
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
v0.4.4 has been released! Please note that this also contains changes from the v0.4.3 release, which was not announced on this thread as it was experimental. @k1ngjosh - this release includes a new SetStatus function that you can call to turn on / off subscriptions. Example usage (The F12 hotkey tur...
- 08 Jul 2019, 11:19
- 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: 48276
Re: TapHoldManager - Long Press / Multi Tap / Multi Tap and Hold / Any number of Taps / Multi-Keyboard / Joystick button
I have updated the documentation on the GitHub site to attempt to clarify what the various parameters (tapTime and holdTime) do, and how they affect the logic.
I also added some diagrams to try and make it as clear as possible. Feedback welcomed!
I also added some diagrams to try and make it as clear as possible. Feedback welcomed!
- 03 Jul 2019, 04:10
- Forum: Scripts and Functions (v1)
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 345
- Views: 206915
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
KeyEvent(state){ global AHI, keyboardId static cs if (!state){ cs := 0 return } if (cs) return cs := state AHI.SendKeyEvent(keyboardId, GetKeySC("j"), 1) AHI.SendKeyEvent(keyboardId, GetKeySC("j"), 0) AHI.SendKeyEvent(keyboardId, GetKeySC("o"), 1) AHI.SendKeyEvent(keyboardId, GetKeySC("o"), 0) AHI....
- 02 Jul 2019, 05:34
- Forum: Scripts and Functions (v1)
- Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
- Replies: 124
- Views: 44062
- 01 Jul 2019, 16:47
- Forum: Development
- Topic: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!
- Replies: 52
- Views: 70938
Re: [AHK Test Build - 5th Nov 2015] Scrollbars, GuiControl Auto-Position+Size system, and more!
All the features made it into AHK_H, it never made it into a proper AHK_L release
- 01 Jul 2019, 16:13
- Forum: Scripts and Functions (v1)
- Topic: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
- Replies: 124
- Views: 44062
Re: HotVoice - Speech Recognition + Volume detection for AHK (C# DLL)
HotVoice 0.1.4 has been released! The demo has been greatly improved, and now supports selecting language The demo also now has commands for French as well as English, and should not crash if recognizer 0 is not English IF YOU SPEAK A NON-ENGLISH LANGUAGE, PLEASE HELP ME UPDATE THE DEMO WITH OTHER L...
- 17 Jun 2019, 07:15
- 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: 48276
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(...
- 17 Jun 2019, 07:05
- Forum: Ask for Help (v1)
- Topic: Remap joystick (axis) to turn around how to use
- Replies: 20
- Views: 5196
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/
https://sourceforge.net/projects/vjoystick/
- 08 Jun 2019, 14:22
- Forum: Scripts and Functions (v1)
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 345
- Views: 206915
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
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
- 30 May 2019, 10:28
- Forum: Gaming Help (v1)
- Topic: Re-input clicks from a Wacom tablet as having come from a mouse.
- Replies: 1
- Views: 1098
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...
- 30 May 2019, 05:13
- Forum: Ask for Help (v1)
- Topic: Remap joystick (axis) to turn around how to use
- Replies: 20
- Views: 5196
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
- 29 May 2019, 05:58
- Forum: Ask for Help (v1)
- Topic: Remap joystick (axis) to turn around how to use
- Replies: 20
- Views: 5196
Re: Remap joystick (axis) to turn around how to use
Oh sorry, yeah I think it is 1903 - the one that just came out