Search found 17068 matches
- 38 minutes ago
- Forum: Ask for Help (v2)
- Topic: Autohotkey 3 Side Buttons on mouse.
- Replies: 4
- Views: 146
Re: Autohotkey 3 Side Buttons on mouse.
Another possibility: Does your mouse come with software that allows you to map keypress combinations to be sent when you click that button? If so, you should be able to define a hotkey in an AHK script to trigger based on whatever combination you define for that button. Make it some combination of k...
- Today, 16:22
- Forum: Ask for Help (v2)
- Topic: about Hotkeys and Send format is different
- Replies: 1
- Views: 62
Re: about Hotkeys and Send format is different
Why can't Hotkey and Send be unified into Symbol+{*}? Because they are used very differently, and having them the same as each other would make it cumbersome for 99+% of the use cases, which clearly is not worth it just to make your particular case easier. Why should we always have to put braces ar...
- Today, 16:13
- Forum: Off-topic Discussion
- Topic: New to Email Copywriting - Seeking Advice
- Replies: 1
- Views: 21
Re: New to Email Copywriting - Seeking Advice
kimi - I approved this post since it is in "Off-topic Discussion", but I'm not sure why you think a forum dedicated to the AutoHotkey programming language is a good place to get good inputs on this topic. Please note that eventually offering details about your SEO services will not be permitted here.
- Today, 14:43
- Forum: Ask for Help (v1)
- Topic: The print screen command doesnt work anymore
- Replies: 2
- Views: 63
Re: The print screen command doesnt work anymore
@DRS - Please post in the v1 section when you are asking for help with v1 code. This thread was moved from where you posted it in the main (v2) section. Thank you.
- Today, 11:00
- Forum: Ask for Help (v2)
- Topic: Help with V2 %clipboard% Topic is solved
- Replies: 3
- Views: 93
Re: Help with V2 %clipboard% Topic is solved
I googled for so dang long to no avail and you have it fixed minutes after I post. Typically, as in this case, consulting the official AHK documentation is much more efficient and accurate than googling. In this case, you would want to read and understand the syntax for expressions , which will ser...
- Today, 10:46
- Forum: Ask for Help (v1)
- Topic: Any way to "fake" a winactivate?
- Replies: 1
- Views: 117
Re: Any way to "fake" a winactivate?
Why is your script basing things on which window is active if you're using ControlSends? Just cycle through the windows and act on each without activating them. Not sure why you are saying you can't change the design of your script. Change it so it works the way you want.
- Today, 07:30
- Forum: Ask for Help (v2)
- Topic: speaker on the PC switched on
- Replies: 3
- Views: 152
Re: speaker on the PC switched on
Somewhat related, I have yet to find a way to get my scripts to run when my computer is switched off.
- Today, 06:54
- Forum: Off-topic Discussion
- Topic: Jack Dunning
- Replies: 1
- Views: 87
Re: Jack Dunning
Since he's chosen to link his username to his real self and since this is publicly available information via the member search, I can say he hasn't been active on this forum since August of 2022. Of course there are other ways to interact with the community. I see that his own websites appear not to...
- Today, 06:45
- Forum: Ask for Help (v2)
- Topic: Newby question: change Delete key
- Replies: 1
- Views: 52
Re: Newby question: change Delete key
Code: Select all
#Requires AutoHotkey v2.0
Delete::
+Delete::Send '{Enter}'
Or more simply which allows other modifier keys as well (Ctrl, Alt, Win):
Code: Select all
#Requires AutoHotkey v2.0
*Delete::Send '{Enter}'
- Yesterday, 21:24
- Forum: Ask for Help (v1)
- Topic: Tooltip not showing, number pad not sending
- Replies: 4
- Views: 234
Re: Tooltip not showing, number pad not sending
…it can be seen that you are trying to stuff too many parameters into a function. That’s not what happened here. He didn’t have too many parameters for that function, which is why it didn’t produce an error. He split one of the parameters that should have been one string in the same parameter acros...
- Yesterday, 18:08
- Forum: Ask for Help (v1)
- Topic: Tooltip not showing, number pad not sending
- Replies: 4
- Views: 234
Re: Tooltip not showing, number pad not sending
The ToolTip would work if it found the image. The part you should be troubleshooting is whether if finds the image. Start with a simple script of a few lines long and make sure it finds the image before you put a lot of other things around it that make it harder isolate the issue. Btw, this is not t...
- Yesterday, 17:50
- Forum: Ask for Help (v2)
- Topic: Moved to Windows 11 - Script not working
- Replies: 6
- Views: 237
Re: Moved to Windows 11 - Script not working
Did you try running the script as administrator?
- Yesterday, 17:49
- Forum: Ask for Help (v2)
- Topic: How to modify the text in the GUI?
- Replies: 3
- Views: 175
Re: How to modify the text in the GUI?
You just need to set the width of the field because without a set width, the width of the control is set by the initial text it contains.
Code: Select all
myGui.Add("Text", "vMyText w200", "")
- Yesterday, 15:24
- Forum: Ask for Help (v2)
- Topic: How to modify the text in the GUI?
- Replies: 3
- Views: 175
Re: How to modify the text in the GUI?
Don't create the Gui in the hotkey. Create it once, and then just show it (Shift key in this example) or change the text (Ctrl key in this example): #Requires AutoHotkey v2.0 myGui := Gui("-SysMenu +ToolWindow +AlwaysOnTop -Caption -DPIScale +E0x20") myGui.Add("Text", "vMyText", "Test") Shift::myGui...
- Yesterday, 15:15
- Forum: Ask for Help (v2)
- Topic: Moved to Windows 11 - Script not working
- Replies: 6
- Views: 237
Re: Moved to Windows 11 - Script not working
Here's the v2 translation: #Requires AutoHotkey v2.0 ;======================================================================================== ;--------------------------------------------------------------------3dsMax----------------------------------------------------------------------- ;=========...
- Yesterday, 15:02
- Forum: Ask for Help (v2)
- Topic: Need Help with ControlClick Topic is solved
- Replies: 2
- Views: 181
Re: Need Help with ControlClick Topic is solved
The control name appears after "ClassNN:" in the Window Spy display. So you can try the line below, but if you see that the ClassNN doesn't change as you move the cursor onto other controls on that window, then it's not going to work. And it may not work anyway since not all windows will accept virt...
- Yesterday, 14:40
- Forum: Ask for Help (v2)
- Topic: Moved to Windows 11 - Script not working
- Replies: 6
- Views: 237
Re: Moved to Windows 11 - Script not working
revel - AHK v2 has different syntax than v1. To learn how to write v2 code, see the v2 documentation . Are you also asking for help translating this to v2, or do you just want help with the v1 version? If the latter, I'll move the thread to the v1 section of the forum. Also, please use [code][/code...
- Yesterday, 07:24
- Forum: Ask for Help (v2)
- Topic: With keyboard launcher (Run command), Win + key is not focused. Is this on spec of Windows?
- Replies: 5
- Views: 270
Re: With keyboard launcher (Run command), Win + key is not focused. Is this on spec of Windows?
@Hiroki-H -- Please put [code][/code] tags around your code when posting code on the forum. Thank you. The moderators have been adding them for you on your prior posts.
- Yesterday, 04:03
- Forum: Editors
- Topic: What editors do you use for use with DLLs and COM?
- Replies: 6
- Views: 379
Re: What editors do you use for use with DLLs and COM?
I’m not sure what you’re asking. To connect to and interface with a COM object, there’s nothing to write in C or any other language. Just interface with the object per the Microsoft specs directly in AHK. Is that what you mean? Is below an example of what you were thinking might be written in C/C++/...
- Yesterday, 03:30
- Forum: Ask for Help (v2)
- Topic: Why the text color doesn't change Topic is solved
- Replies: 2
- Views: 155
Re: Why the text color doesn't change Topic is solved
The option starts with a c. It’s the same reason it’s cRed and not Red. So you just need to add a c before the color value:
Code: Select all
ctl.Opt('c' cc)