Ask for Help (v1) • Re: Get the monitor number that the mouse is in?
Replace MinitorFromWindow with the following 2 functions:CODE: ; Get the current monitor the mouse cursor is in. DllCall("GetCursorPos", "uint64*", point:=0) hMonitor := DllCall("MonitorFromPoint",...
View ArticleScripts and Functions (v1) • Re: v1 -> v2 Script Converter
Thoughts?all of the things you said would be good. but i cant comment on the design because this converter was originally built 13 years ago but user Frankie in the old ahk forums. i simply took his...
View ArticleAsk for Help (v1) • Re: How to press a button every X seconds without...
Hi! Thank you for your time. It does work in Edge, but not while I am not focused on the window. What do you mean by edit fields in Edge?Statistics: Posted by penguinautomator — 1 minute ago
View ArticleAsk for Help (v1) • Is possible to create a class with constructor overloads?
For example if I have a class that constructs a Timecode object, I would like to sometimes initialise a instance by just providing a value for a single parameter (frameCount) and other times provide...
View ArticleBug Reports • Re: LWin and LCtrl triggered more than once
Afaik, this is all by design (since v1.0.x) and intentional to assure that Send works as expected. From the A_Menumaskkey docs (note that Left CTRL is the default menu mask key in AHK) :Send: Send,...
View ArticleAjuda e Suporte Geral • Re: Ajuda em um script
Você precisará identificar algumas informações específicas, como as coordenadas dos itens na tela e como o programa reage aos cliques. Aqui está um exemplo básico de como você poderia abordar esse...
View ArticleAjuda e Suporte Geral • Re: AutoHotKey não lê caracteres especiais?
O problema que você está enfrentando com os caracteres especiais e acentos provavelmente está relacionado à codificação de caracteres usada pelo AutoHotkey. Por padrão, o AHK usa a codificação ANSI,...
View ArticleAjuda e Suporte Geral • Re: Ajuda com algo simples pf
CODE: #NoEnv ; Recomendado para evitar problemas de ambiente#Warn ; Recomendado para notificações sobre possíveis problemasSendMode Input ; Recomendado para velocidade e confiabilidade; Defina um...
View ArticleAjuda e Suporte Geral • Re: GUI onde os botões abrem submenus para textos...
por gentileza tente assimCODE: #SingleInstance, ForceGui, Add, Button, x10 y10 w120 h30 gMenu1, E-mail padrãoGui, Add, Button, x10 y50 w120 h30 gMenu2, ProblemasreturnMenu1:Gui, Add, Button, x140 y10...
View ArticleAjuda e Suporte Geral • Re: Ajuda desenvolver macro.
CODE: #Persistent ; Isso mantém o script ativo mesmo após o término da execução da hotkey; Defina a posição onde o mouse deve irx := 500y := 500; Define os dois botões do teclado para pressionar de...
View ArticleAsk for Help (v2) • Re: Is it possible to get the name of the instance of a...
@ntepaThanks for the help, would never have thought about using the error stack trace.And I made a small method out of it, but with In- and SubStr because I'm not that familiar with the RegEx...
View ArticleAsk for Help (v1) • Help Please! How to use dynamic variable?
CODE: nama = kasuq::WinGet, AOVTab%Nama%, , AWinMaximize, ahk_id AOVTab%Nama%returnhow to make this work?Statistics: Posted by septrinus — Today, 18:36
View ArticleGaming Help (v1) • Need help with looping my script
Hey folks, I'm a newbie in AHK scripting and I've managed to put together a script that works for me. But now, I'm trying to make it loop forever until I hit F7 to manually stop it. I've tried a few...
View ArticleAsk for Help (v1) • Re: Help Please!
TryCODE: WinMaximize, % "ahk_id " Code%Nama%Compare https://www.autohotkey.com/docs/v1/Language.htm#dynamic-variablesStatistics: Posted by gregster — 51 minutes ago
View ArticleAsk for Help (v2) • Re: Problem converting one part of script to v2
CODE: if (dob_enter := "")Is assigning the variable dob_enter to be blank.try: if (dob_enter = "")Same goes for the next 2 comparisons. HTHThank you very much for that. I had tried that and it didn't...
View ArticleScripts and Functions (v1) • Re: [LIB] MDMF - Multiple Display Monitor Functions
Hallo,the v2-a108 example does not run with v2.0.12Is there already an update?@Rohwedder Here's a version that works:CODE: ;...
View ArticleAsk for Help (v1) • Re: how to keep a window at the bottom always?
How do you use this script?I mean, do you click on the window and then press a certain key combo, like with the more well-known "alwaysontop" function? I don't see that in the code, so I am wondering...
View ArticleGaming Help (v1) • ~Lctrl ~Rctrl woesnt work
after using (~) this modifier Lctrl and Rctrl is still blckedand is it possible to make my script faster and more accurate? CODE: i:=!i ; initiate counter~q::if ( i = 1 ) { send, 3sleep, 1Click,...
View ArticlePulovers Macro Creator • Re: Is Pause - Random Delay Option broken?
Hi. I am just poking around in the tool to see what it can do and cant seem to get the "random delay" option to work in the Pause command. If I tick the random option and enter a min and max value the...
View ArticleПомощь • Re: вирус или нежелательная программа в программе launcher.ahk
У меня Autohotkey с 2005 года, и проблем никогда не было. У меня есть только антивирус для Windows ( MsMpEng.exe / in Windows-11 ) .https://www.autohotkey.com/Statistics: Posted by garry — Today, 15:28
View Article