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

Ask for Help (v2) • Control screen to be turned off with a hotkey

There are several tools to turn off the monitor available online but I want to be able to control which one to be turned off when there is more than one screen being connected to the Windows PC.[Mod...

View Article


Ask for Help (v2) • Re: Double-Clicking on Image Control Saves the Path to...

 Try read this.It corresponds to v1, but with just a little effort, you should be able to translate it into v2. Check return 0...

View Article

Ask for Help (v1) • Improving Mouse Tracking Speed/Smoothness/Reaction Time

Hello. I have been working on this object tracking script and have been able to get the mouse to track the object. However, the cursor lags behind the object because it reacts to the object movement...

View Article

Ask for Help (v1) • How to toggle the app on the Taskbar

The task bar is positioned vertically to the left of the screen. Suppose the running app is placed in the Taskbar. I tried to create a way to toggle the original size and minimization whenever I press...

View Article

Ask for Help (v1) • Re: How to toggle the app on the Taskbar

Please advise me what I'm doing wrongYou’re making up syntax and still expecting the code to work for some reason. Actually, ChatGPT wrote it, didn’t it?Statistics: Posted by boiler — 31 minutes ago

View Article


Ask for Help (v2) • Re: CheckColor / WaitColor - Color names of HEX color

This code work! (with Sleep 1000)CODE: #Requires Autohotkey 2.0#SingleInstance ForceCoordMode 'Pixel', 'Window'Run 'notepad.exe',,, &tstPIDWinWaitActive 'ahk_pid ' tstPIDSleep 1000Color :=...

View Article

Scripts and Functions (v2) • Re: [Function] MsgBoxTBI - Display a MsgBox...

@burque505 Thank you for your testing. From what you reported, it looks like LoadPicture is working. The fact that you don't see any icons suggests that you are not getting to the SetTitleBarIcon...

View Article

Gaming Help (v1) • Macro F4 to F1

Hello, sorry for the inconvenience. I need some basic information... I'm looking for a macro that does F1 to F4 like this one but in reverse F4 to F1.CODE: TAB:: key++ Send {F%key%} if key = 4 key = 0...

View Article


Ask for Help (v1) • Re: Long press is not working

@Rohwedder This is great. Thank you so much. I have created three scripts thus far from your scripts at work. They work great. Thank you. I tried to insert winactivate ahk.... program.exe so that the...

View Article


Помощь • Re: Неработающий автокликер

автокликер только включается и впоследствие не выключается.CODE: press := !press ; := ≠ =Statistics: Posted by mcl — Today, 19:50

View Article

Ask for Help (v2) • Re: How to start a program and hide it immediately?

....To see the differences/lack of differences:CODE: #Requires AutoHotkey v2.0target1 := "C:\Program Files\Google\Chrome\Application\chrome.exe" "...

View Article

Scripts and Functions (v2) • Re: WinExeCommander - Simplify the calling of...

Thanks for sharing. Can this tool be used as a library rather than a tool with an interface? I would like to use it like OnMessage() registers events, e.g.OnCommander { exe: 'Notepad.exe', event:...

View Article

Ask for Help (v1) • Re: I need Help: Change font color

I am unable to understand your script, your goal, and whether your goal has been met. I don't think I can add anything beyond the two solutions that I have provided. Others may know more. Good...

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v2) • Can the Gui's close button be disabled

Can the Gui's close button(upper right corner) be disabled?Statistics: Posted by songdg — 8 minutes ago

View Article

Ask for Help (v2) • Re: How to use Window Spy with multiple monitors

I am running an x64-based PCProcessor12th Gen Intel(R) Core(TM) i7-12700, 2100 Mhz, 12 Core(s), 20 Logical Processor(s)Statistics: Posted by drbobsing — Today, 18:26

View Article


Ask for Help (v2) • Re: Boilerplate current time

Hallo,perhaps?:CODE: :?*X:,time::Send A_Hour ":" A_MinThanks for your quick answer to. I'm using V2 here it seems not to work. The answer of ntepa worked.Should work in v2. Add #Requires AutoHotkey...

View Article

Ask for Help (v1) • Re: Sendinput Won't Send ! Within A Variable

Perhaps something like this..?CODE: #NoEnvSendMode InputSetWorkingDir %A_ScriptDir%Variable1 := "Send variable with an exclamation mark inside the variable!"Variable2 := "And now send variable with an...

View Article


Ask for Help (v2) • Gui Edit control accept file paste?

How can we make the Edit control to recognize the CF_HDROP format as a string, so that when we paste a file into it the filepath would be taken in? I don't want to register hotkeys to achieve this...

View Article

Ask for Help (v2) • Re: Split a text file based on a delimiter

great replies. thank you @Banaanae and @kunkel321!The StrSplit function was essential as well as the proper way to loop starting with the second item in the array.Statistics: Posted by akhiler —...

View Article

Scripts and Functions (v1) • Re: Screen clipping

Mine is working perfectly in Win 10 Home x64 21H2. And my ScreenClipper script is running as 64bit. I have never used MouseGestureL before so I'm unfamiliar with the error you are...

View Article
Browsing all 579 articles
Browse latest View live