Quantcast
Channel: AutoHotkey Community
Browsing all 579 articles
Browse latest View live

Ask for Help (v2) • Re: Why has my drag & drop code stopped working after...

Yes the points are correct and the mouse movement is also correct. As I said it only stopped working after restarting my PC and the only thing that isn't happening is the dropping of the file (the...

View Article


Ask for Help (v1) • Re: need script termination shortcut ,using both...

The line below the hotkey would never execute. When are you expecting it to execute? After some other part of the script finishes? Put it after those lines.Explained: Structure of a ScriptStatistics:...

View Article


Ask for Help (v1) • Re: Window-centering script only works on reloading script

Thank you @mikeyww for your help.I hope I'm understanding you correctly. Here are the variable values (it shows this when the script is not working and after I reload the script and it works; it is...

View Article

Ask for Help (v2) • How to make dynamic property also call static property

CODE: MsgBox a.bMsgBox a("abc").bclass a {__New(Name){this.Name:=Name}static Name:="aaa"static b => this.Name}Statistics: Posted by cgx5871 — Today, 09:28

View Article

Ask for Help (v2) • Suggestion/Question: VScroll option in GUI Method Add

This troubled me a bit the past week, trying to get a list of text to display with a scroll bar. To put it simply, I eventually discovered that VScroll requires the height and width to be specified in...

View Article


Gaming Help (v1) • Re: Aiming down sights Auto Clicker

Hallo,perhaps?:CODE: ~LButton & RButton:: ;first LB down then additional RB~RButton & LButton:: ;first RB down then additional LBWhile GetKeyState("LButton", "P") {ClickSleep...

View Article

Image may be NSFW.
Clik here to view.

Ask for Help (v1) • How to pause or temporarily disable OnClipboardChange?

How to pause or temporarily disable OnClipboardChange?CODE: #SingleInstance force#Persistent#Requires AutoHotkey v1.1.37clipboard := "" ; don't trigger ToolTip on startOnClipboardChange:if A_EventInfo...

View Article

Scripts and Functions (v2) • Re: CreateImageButton() - 2023-07-10

thanksStatistics: Posted by sashaatx — Today, 08:19

View Article


Ask for Help (v2) • Re: Shift: Press once vs hold - howto?

That was very funny, Sir ! Thank you !Do you have anything more relevant to say?Statistics: Posted by chilipepper — Today, 08:23

View Article


Ask for Help (v2) • Re: Capture a scripts PID when it starts, gives wrong PID

@teadrinker so quotation marks because A_AhkPath may contain spaces and the single marks (') to escape it beeing interpreted as a litural string right ? Haven't encountered this entanglement before,...

View Article

Image may be NSFW.
Clik here to view.

Gaming • Script for game, with mouse move and click.

Happy new year I hope someone can help me.I need a script that starts with press a 1 time and move mouse to ( used windows spy from autohotkey ) Screen:1862, 852 and then right click, and then move...

View Article

Ask for Help (v1) • Re: How to pause or temporarily disable OnClipboardChange?

You should use the OnClipboardChange() function instead of the deprecated OnClipboardChange label. Then use the AddRemove parameter to enable/disable it calling the callback function.Statistics:...

View Article

Ask for Help (v1) • Re: AHK Wallpaper Change doesn't persist

You can try to use 0x0003 as last parameter (fWinIni), this is the script i use on win10/11 . DllCall("SystemParametersInfo", uint, 0x0014, uint, 0x0000, str, sfile, uint,...

View Article


Ask for Help (v2) • Re: Use of AHK to open browsers sometimes fails

Hi.@Dummie1138The script below waits until a page is completely loaded and then continues to the next. This should ensure that all pages are always loaded.The only thing you have to pay attention to...

View Article

Image may be NSFW.
Clik here to view.

Gaming Help (v1) • Limiting a certain key press

Hello! I need help in creating a script that limits how often !s can be activated. I drew a pictureIf possible, This is beyond my capabilities. Could you show me your solution? Thank you!I posted the...

View Article


Ask for Help (v1) • Re: Autohotkey does not print macros fast enough

Thank you very much for your kind clarification and patience with me.Sorry that I am not a programmer: I am doing my best to understand the coding process.Statistics: Posted by GenevaMan — 43 minutes...

View Article

Ask for Help (v2) • Re: Suggestion/Question: VScroll option in GUI Method Add

I eventually discovered that VScroll requires the height and width to be specified in order to work.It does not:CODE: #Requires AutoHotkey v2.0MyGui := Gui()MyEdit := MyGui.Add('Edit', 'VScroll...

View Article


Ask for Help (v1) • Re: How to wait long times in loops but still break out...

Hi Mikeyww, wow did you know you're a real godsend to everybody in the AHK community, and have been for years? Thanks so much, man!That first (of two) examples you gave worked perfectly - all except...

View Article

Gaming Help (v1) • Re: Have lag in a game when running "while...

Hallo,only a try! Replace:CODE: $v:: Click up while GetKeyState("v", "P") { Click sleep 1000 } Click downreturnby:CODE: $v::IF VDownReturnClick UpSetTimer, VDown,% (1000, VDown := True) ;every 1000...

View Article

Ask for Help • Re: How to share variables between main threads and others ?

https://github.com/thqby/AutoHotkey_H/issues/74Statistics: Posted by thqby — Today, 08:58

View Article
Browsing all 579 articles
Browse latest View live