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

Bug Reports • Re: A_Screen{Width,Height,DPI} are wrong when changing the main...

A_ScreenDPIIn a system with multiple display monitors, this value is the same for all monitors.?Statistics: Posted by just me — Today, 15:36

View Article


Ask for Help (v2) • The ahk code doesn't work: check color of 4 coordinate...

I attempted to write a code using Copilot. The original idea of the code is to check the color of 4 coordinates on the screen. If the color has changed from the previous color on the coordinate, the...

View Article


Ask for Help (v2) • Re: The ahk code doesn't work

Welcome to the AHK forums but please don't post broken AI-generated code - which is against the current forum rules.We have already seen worse AI code but this was not a good starting point,...

View Article

Ask for Help (v2) • Re: "Expected a string, but got a function..."

Parentheses can be omitted only if the function is called by itself at the start of a line.There's also a missing comma between "click" and the fat arrow function. The space between them causes...

View Article

Ask for Help (v2) • Issue with Building an Array Using a Loop

Hello everyone,I've been trying to build an array using a loop, but I keep encountering an error: "Invalid index." Here's how my loop looks like:CODE: #Requires Autohotkey v2.0#SingleInstance ForceIer...

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v2) • Re: How to get video file metadata (Media Created Date,...

Thanks a lot guys for the provided examples Works exactly as I hopedStatistics: Posted by k0stell0 — Today, 17:40

View Article

Ask for Help (v2) • Re: Issue with Building an Array Using a Loop

A valid array index needs to be less than or equal to the array length. Ier := [] creates an array with a length of 0.In the first iteration of the loop, it tries to set Ier[1] := []. 1 is an invalid...

View Article

Gaming Help (v1) • Re: Minecraft: Opening inventory doesn't work

Do you really mean the Ctrl doesn't work? Or do you mean that when you hold Ctrl, then pressing q doesn't launch your hotkey routine? Those are two very different things. The reason for the latter...

View Article


Ask for Help (v2) • Re: Anyone know a AHK Native Equivalent or Know how to...

Why do you want it rewritten in AHK? AutoHotkey can run the code using CLR library.Statistics: Posted by ntepa — 52 minutes ago

View Article


Ask for Help (v2) • Re: The ahk code doesn't work: check color of 4...

Welcome to this AutoHotkey forum!CODE: #Requires AutoHotkey v2.0coord := [[100, 100], [200, 200], [300, 300], [400, 400]]CoordMode 'Pixel'Loop { Sleep 50 For each, part in coord { If part.Length = 4...

View Article

Ask for Help (v2) • Re: How to get the name of monitors? (DDC/CI or WMI)

This is incredibly useful, thank you for figuring this out and posting the answer!! <3Statistics: Posted by iamasink — Today, 16:29

View Article

Scripts and Functions (v1) • Re: ScriptGuard: Helps Protect Compiled Scripts...

is there a thread to tackle that?I don't know, but I think this is a fine place to discuss it. In TAC109's first post in this thread, he mentions MPRESS and UPX (in the ScriptGuard2 Restrictions...

View Article

Ask for Help (v2) • Issue with Simulating SplashImage

Hello everyone,I'm trying to simulate a SplashImage functionality, and here's what I've come up with so far:CODE: #Requires Autohotkey v2.0#SingleInstance ForceSG := Gui()SG.Add("Picture", "w150 h150...

View Article


Ask for Help (v2) • open this folder, if the other one does not exist

if the folder exists, it opens the folderif the folder DOES NOT exist, it does not open the default folderuserinput variable worksCODE: UserInput := ControlGetText('Edit1' , 'DAW3 v2.ahk', , , )CODE:...

View Article

Ask for Help (v2) • Re: pixelsearch timing help

Hi.You probably want to run PixelSearch in a loop for a certain amount of time, right?If so, here is an example of what it could look like.CODE: #Requires AutoHotkey 2.0#SingleInstanceF4::ExitAppF1::...

View Article


Scripts and Functions (v1) • Re: v1 -> v2 Script Converter

Making progress getting on board with Github... sent a fake/test pull-request. I was not able to delete it, and the tutorials show that this can only be done using the command line interface, which I...

View Article

Ask for Help (v1) • Re: Does com object library supports Premiere

Hello,did you find any solution for this? I tried different names but I can't get the premiere pro application object.I'm sure it has a COM object and VSCode can communicate with it via ExtendedScript...

View Article


Ask for Help (v2) • Re: open this folder, if the other one does not exist

The DirExist function sounds like what you want.Statistics: Posted by mikeyww — Today, 19:04

View Article

Image may be NSFW.
Clik here to view.

Ask for Help (v2) • Re: Issue with Simulating SplashImage

Have you tried the DoubleClick event?Statistics: Posted by mikeyww — Today, 19:07

View Article

Ask for Help (v1) • Re: Relaunching Discord

You could try Example #6.Statistics: Posted by mikeyww — Today, 19:14

View Article
Browsing all 579 articles
Browse latest View live