Search found 8710 matches
- Today, 16:35
- Forum: Scripts and Functions (v2)
- Topic: HotGestures - Customize and recognize mouse gestures
- Replies: 10
- Views: 1547
Re: HotGestures - Customize and recognize mouse gestures
@GollyJer, I didn't test it, but I would have tried AHK hotkey syntax: "^Rbutton"; it looks like this built-in function is also used in the source code.
- Today, 11:24
- Forum: Ask for Help (v1)
- Topic: Throw a warning if running 2.0 ?
- Replies: 1
- Views: 38
Re: Throw a warning if running 2.0 ?
Afaik, this specific error message was caused by a bug in the v2 Launcher (including v2.0.11) - and should be fixed in the newest version (lexikos stated: " v2.0.12 fixes this, and/or at least handles PCRE execution errors better. ") Otherwise, the AHK v2 Launcher already takes care of choosing or s...
- Today, 10:20
- Forum: Ask for Help (v2)
- Topic: After calling ExitApp, key within rebind script stops working.
- Replies: 2
- Views: 36
Re: After calling ExitApp, key within rebind script stops working.
It would be nice to understand how an AHK remap script can affect a key after ExitApp is called... It can't. It's simply not capable of doing that. Especially, it does nothing to change anything in your keyboard - so another keyboard would not change anything (if the keyboard is not actually broken...
- Yesterday, 14:58
- Forum: Ask for Help (v1)
- Topic: ControlClicking on a window hidden by 'winHide'? Topic is solved
- Replies: 3
- Views: 54
Re: ControlClicking on a window hidden by 'winHide'? Topic is solved
This can be found in the ControlClick docs which seems to support that hidden windows are supported in principle: To operate upon a control's HWND (window handle), leave this parameter blank and specify ahk_id %ControlHwnd% for the WinTitle parameter (this also works on hidden controls even when Det...
- Yesterday, 14:48
- Forum: Ask for Help (v1)
- Topic: ControlClicking on a window hidden by 'winHide'? Topic is solved
- Replies: 3
- Views: 54
Re: ControlClicking on a window hidden by 'winHide'? Topic is solved
Don't know the answer - but at least your ControlClick syntax is currently incorrect and your code above can't work as expected: Mode 1 (Position): Specify the X and Y coordinates relative to the target window's upper left corner. The X coordinate must precede the Y coordinate and there must be at l...
- Yesterday, 14:27
- Forum: Scripts and Functions (v1)
- Topic: Prevent accidental clicks of thinkpad x230 touchpad
- Replies: 3
- Views: 42
Re: Prevent accidental clicks of thinkpad x230 touchpad
Yes, in a sense - AHK v1 has reached its (official) end of life a few days ago, lexikos won't develop it any further (anyone is free to fork it though, and we continue to provide subforums for it). But please note that v2 has many syntax changes and is not very compatible to most v1 code. But you ca...
- Yesterday, 13:25
- Forum: Ask for Help (v1)
- Topic: How to ignore/disable keys for X amount of time - AHK
- Replies: 2
- Views: 35
Re: How to ignore/disable keys for X amount of time - AHK
@imstupidpleshelp, we again added code tags to your post. Please use them yourself when posting code. Thank you!
- Yesterday, 13:18
- Forum: Scripts and Functions (v1)
- Topic: Prevent accidental clicks of thinkpad x230 touchpad
- Replies: 3
- Views: 42
Re: Prevent accidental clicks of thinkpad x230 touchpad
Hi @TOTAL, I moved your topic from Scripts and Functions (v2) to the corresponding AHK v1 subforum. Perhaps you have missed that AHK v2 is the new main release, and that we have now separate forums for AHK v1 and AHK v2 topics.
(I also fixed a broken code tag - a ] was missing.)
(I also fixed a broken code tag - a ] was missing.)
- Yesterday, 01:38
- Forum: Ask for Help (v2)
- Topic: Newbie with syntax problem
- Replies: 5
- Views: 64
Re: Newbie with syntax problem
If correctly installed, it should be no problem to have v1 and v2 installed side by side so that you can use both kinds of scripts (no need to remove v1). That's what the Launcher is meant for... and the #Requires directive (also available in recent v1 versions).
- Yesterday, 01:11
- Forum: Ask for Help (v2)
- Topic: Newbie with syntax problem
- Replies: 5
- Views: 64
Re: Newbie with syntax problem
the messagebox shows "Hello World! <> 2. MyVar" Looks like you are running AHK v2 code with AHK v1 (the Launcher might have identified the used syntax incorrectly, or v2 is not installed (correctly)). If you have v2 actually installed as well, add #Requires AutoHotkey v2.0 at the top of your script.
- 27 Mar 2024, 21:19
- Forum: Ask for Help (v2)
- Topic: Hot keys without sending original combination
- Replies: 2
- Views: 68
Re: Hot keys without sending original combination
What means "sends the unwanted ctrl"? This website detects the key events which it can see, but it doesn't even distinguish between down and up events. How do you know if it's a sent Ctrl or simply an event of your own physical keypress? Especially since Ctrl doesn't get suppressed like regular keys...
- 27 Mar 2024, 19:54
- Forum: Ask for Help (v2)
- Topic: Notepad: Right Ctrl+Shift Topic is solved
- Replies: 5
- Views: 96
Re: Notepad: Right Ctrl+Shift Topic is solved
It's just that RShift::LShift is not a hotkey, but a remapping... so it should already allow additional modifier keys to be held down, and * would be redundant in this case, afaics.
- 27 Mar 2024, 14:54
- Forum: Ask for Help (v1)
- Topic: Mark emails as read in Outlook
- Replies: 10
- Views: 146
Re: Mark emails as read in Outlook
Thank you but this was intended to be for AHK v2, can you provide some v2 code to test? When you post obvious v1 code in your original post, but actually want v2 code, it would make sense to mention this from the start. Otherwise, your topic will be (and has been) moved to the v1 help subforum, ass...
- 27 Mar 2024, 00:01
- Forum: Ask for Help (v1)
- Topic: How to create a function to automate data entry using passed in variables
- Replies: 2
- Views: 43
Re: How to create a function to automate data entry using passed in variables
@DIYCB, going forward, please use code tags when posting code. Thank you!
- 26 Mar 2024, 18:06
- Forum: Ask for Help (v1)
- Topic: Can AHK detect the target of a windows shortcut?
- Replies: 3
- Views: 47
Re: Can AHK detect the target of a windows shortcut?
Iirc, a lnk-file contains binary data.
- 26 Mar 2024, 14:03
- Forum: Gaming Help (v1)
- Topic: Using AHK with the Nestopia gaming emulator
- Replies: 3
- Views: 40
Re: Using AHK with the Nestopia gaming emulator
Try to run the script as admin. Generally, sending keys to games can be tricky and often involves trial-and-error. Some other things to try, if the above doesn't work: Why do Hotstrings, Send, and Click have no effect in certain games? How to Make AHK Work in Most Games - The Basics But there are no...
- 25 Mar 2024, 22:00
- Forum: Ask for Help (v1)
- Topic: Running compiled script on another computer without warnings
- Replies: 6
- Views: 582
Re: Running compiled script on another computer without warnings
Not necessarily. I guess if a certain version of the interpreter gets flagged erroneously for its abilities or heuristic similarity to a malware, it's probably not so important if you include it as a separate file or as part of an compiled exe (you might know that AHK exe-files are more or less just...
- 25 Mar 2024, 07:32
- Forum: Pulovers Macro Creator
- Topic: What is this function in PMC
- Replies: 2
- Views: 47
Re: What is this function in PMC
I have no knowledge whatsoever about PMC, but in AHK your code above would constitute a hotstring subroutine. I would look for this term in PMC as well. (The multi-line subroutine above would miss a closing return , though, with potential unwanted side-effects in a larger script. Instead of a return...
- 24 Mar 2024, 06:50
- Forum: Ask for Help (v1)
- Topic: I want Var not to be affected by Reload
- Replies: 8
- Views: 128
Re: I want Var not to be affected by Reload
abc , I now moved your topic to AHK v1 help. You originally got v2 help, because you posted in 'Ask for Help (v2)'. Please note that there are different subforums now. How about you have a go at it yourself in v1, based on the idea of the v2 code above? If it doesn't work, feel free to post your at...
- 23 Mar 2024, 22:50
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 170
Re: AutoHotkey start page is broken
Well, landline Internet is not that slow, at least not everywhere ;) - in the countryside it can be bad, but generally replacement of old cables and centrally used hardware has always been slow, and repairs anyway. On the street below, there is now glass fiber. In this house with a dozen apartments,...