Search found 8702 matches
- Today, 01:38
- Forum: Ask for Help (v2)
- Topic: Newbie with syntax problem
- Replies: 5
- Views: 52
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).
- Today, 01:11
- Forum: Ask for Help (v2)
- Topic: Newbie with syntax problem
- Replies: 5
- Views: 52
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.
- Yesterday, 21:19
- Forum: Ask for Help (v2)
- Topic: Hot keys without sending original combination
- Replies: 2
- Views: 55
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...
- Yesterday, 19:54
- Forum: Ask for Help (v2)
- Topic: Notepad: Right Ctrl+Shift Topic is solved
- Replies: 5
- Views: 72
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.
- Yesterday, 14:54
- Forum: Ask for Help (v1)
- Topic: Mark emails as read in Outlook
- Replies: 10
- Views: 105
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...
- Yesterday, 00:01
- Forum: Ask for Help (v1)
- Topic: How to create a function to automate data entry using passed in variables
- Replies: 2
- Views: 32
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: 44
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: 28
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: 5
- Views: 568
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: 44
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: 167
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,...
- 23 Mar 2024, 09:43
- Forum: Ask for Help (v2)
- Topic: Idea for using AHK on mobile (through a PC)
- Replies: 4
- Views: 102
Re: Idea for using AHK on mobile (through a PC)
Why shouldn't it be possible? You might have to resort to things like Imagesearch and clicking coordinates on a visible window, though (similarly, like people have automated the BlueStacks Android emulator - although not a mirroring app - with AHK, for example), if the mirroring app itself doesn't o...
- 23 Mar 2024, 07:30
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 167
Re: AutoHotkey start page is broken
An half hour ago, it was still broken. Now it works again on both computer and phone.
- 22 Mar 2024, 23:48
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 167
Re: AutoHotkey start page is broken
Nah, still broken here, on computer and phone.
Edit: Still the same in Germany.
Edit: Still the same in Germany.
- 22 Mar 2024, 20:45
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 167
Re: AutoHotkey start page is broken
Tried in two different browsers and a third one on my phone. The problem still persists.
Perhaps a caching issue - Cloudflare or something. If that's it, it might resolve itself soon.
Perhaps a caching issue - Cloudflare or something. If that's it, it might resolve itself soon.
- 22 Mar 2024, 20:27
- Forum: Forum Issues
- Topic: AutoHotkey start page is broken
- Replies: 10
- Views: 167
AutoHotkey start page is broken
Currently, autohotkey.com is broken. Perhaps a CSS problem?
- 22 Mar 2024, 14:35
- Forum: Ask for Help (v2)
- Topic: logical or usage Topic is solved
- Replies: 2
- Views: 35
Re: logical or usage Topic is solved
Try
Code: Select all
#HotIf WinActive("ahk_exe Discord.exe") or WinActive("ahk_exe DiscordPTB.exe")
- 21 Mar 2024, 20:01
- Forum: Ask for Help (v2)
- Topic: Case Sensitivity
- Replies: 5
- Views: 118
Re: Case Sensitivity
@mikeyww, good point. Thank you
- 21 Mar 2024, 19:15
- Forum: Ask for Help (v2)
- Topic: Case Sensitivity
- Replies: 5
- Views: 118
Re: Case Sensitivity
Function names and key names (like all the above), variable names, labels , window groups, classes, properties and methods are case-insensitive (at least for Ascii letters, for non-ascii letters see below). Afaics, case-sensitivity is only used moderately in AHK v1 and v2. Yet Wintitle s and string...