Ask for Help (v2) • Re: how to make a script a .exe file
Personally, I like to run my scripts "portably," without compiling them, as discussed here: https://www.autohotkey.com/docs/v2/Scripts.htm#defaultfileThis lets me tweak the code as desired. For...
View ArticleAsk for Help (v2) • inputHook stops after a while...
I have several scripts that use inputHooks. There is only one script that is "always hooking" though.... It's based on Mike's here: viewtopic.php?p=560556#p560556I can post the entire code if needed,...
View ArticleScripts and Functions (v2) • Re: UIA v2
@Spitzi, as far as I know you can't zoom elements using UIA. You can use UIA to locate the element and use Click/ControlClick to send WheelUp/WheelDown at that element as you've done in you example.I...
View ArticleAsk for Help (v2) • Re: inputHook stops after a while...
It stops when you reach the character limit, which is documented as 1023, though seemed to be 1022 in my test.Statistics: Posted by mikeyww — Today, 13:40
View ArticleAsk for Help (v2) • Re: Help for "detect and click numbers"
Those numbers look like they may be “clean” and repeatable enough and with enough contrast to their background that you could write a couple functions based on ImageSearch to get all the numbers more...
View ArticleAsk for Help (v1) • fastest way to access variables?
hello folksfor my macro launcher toolbars i had a dynamic mastermacro that would load relevant info for the button it was activated fromhowever this turned out to be slow and made my tool a cpu hog...
View ArticleAsk for Help (v2) • Re: Simultaneous running of two timers.
@Rohwedder You are just a legendary man! I heard that AHK is single-threaded, but the fact is that this Loop thing doesn’t work as it should, and the usual Sleep does, but in the end your solution...
View ArticleAsk for Help (v1) • Re: fastest way to access variables?
Hello,I imagine that 60 variables can be assigned in approximately 0 seconds and maybe even 0 milliseconds. You can test that to see. You might want to post a short script that demonstrates what you...
View ArticleAsk for Help (v2) • Beginner: Getting Error on Script Initialization
I am using the AHK plugin for Macro Deck 2.I have assigned a certain button to start a script.That all is fine.When the script is triggered, I get the message:CODE: Error: Function calls require a...
View ArticleAsk for Help (v2) • Re: Beginner: Getting Error on Script Initialization
The error message looks like a AHK v2 error, while your code is clearly v1 code. No idea what Macro Deck 2 is but you probably haven't AHK v1 installed.Or you simply translate your code to v2 syntax -...
View ArticleAsk for Help (v1) • Function LCtrl=Home & Home=LCtr
Hello, I need two keys activated equally (LCtrl=Home and Home=LCtrl), thanks. CODE: Suspend#Warn#NoEnv#SingleInstance, force[my script]LCtrl::Home (not work) Home::SuspendEnd::ExitAppStatistics:...
View ArticleAsk for Help (v2) • Re: How to call a vlookup from AutoHotkey?
Google error 0x800A03EC and see what could be the issue. There are a number of potential problems but they are likely related to Excel and Windows rather than AHK. Have you been able to run other...
View ArticleSciTE4AutoHotkey • SciTE4AutoHotkey Turkish.locale.properties file
SciTE4AutoHotkey v3.1.00 Türkçe dil dosyası ektedir.SciTE4AutoHotkey v3.1.00 Turkish language file is attached. Turkish.locale.zipStatistics: Posted by mesutakcan — Today, 10:59
View ArticleAsk for Help (v2) • Re: Manage dual GUIs
You could overlay a transparent GUI to alter its color. Perhaps others will have better ideas here.To my knowledge, there is no such thing as transferring information from one place to another unless...
View ArticleAsk for Help (v1) • Re: Limiting mouse double clicking but still allowing it...
viewtopic.php?f=76&t=83635&p=366530#p366530Statistics: Posted by mikeyww — Today, 11:13
View ArticleAsk for Help (v2) • Re: how to display unicode chars returned from DllCall
I fixed the issue by attempting to convert UTF-8 to UTF-16 first in the C++ code, then compiling DLL and use this in Autohotkey v2:CODE: output := DllCall("libs\functions.dll\displayHello", "Cdecl...
View ArticleOff-topic Discussion • Re: « What's on your mind? »
AHK v.1.1 is dead. End of Life is official :Oviewtopic.php?p=563362#p563362Statistics: Posted by joedf — Today, 11:54
View ArticleAsk for Help (v2) • Re: How to format a paragraph of MS WORD document
Why not just use Word's "Format Painter?"Statistics: Posted by kunkel321 — Today, 13:23
View ArticleAsk for Help (v1) • how to deleta value in ini but only after =
hello i am trying to make a macro to delete all settings from an ini file but i want it to keep everything before = so it remains a valid ini file but just an empty one value wisei tried to pass an...
View ArticleAsk for Help (v1) • Re: how to deleta value in ini but only after =
never mind i had a clear moment after posting this CODE: empty=IniWrite,%empty%,blablablaStatistics: Posted by peter_ahk — Today, 13:41
View Article