Ask for Help (v2) • Re: How to call nested function?
Replacing MyGui.DefineProp('Click', {Call: (this) => Button_Click()}) in your script with ObjBindMethod(myGui, 'Click') will do it.That didn't work for me. The closest thing was to replace...
View ArticleGaming Help (v1) • Re: click on image text
For games you can post here: viewforum.php?f=18Sure, new gaming topics should be created there. For already existing discussions like this, it is much more preferable to just move them.(I just did...
View ArticleAsk for Help (v1) • Re: Reading text within an app
I looked at what it was viewing and not as much as i was hoping for, I found “Chrome.ahk on github so maybe that can read more than what it can nowStatistics: Posted by ElsePoem — Today, 18:45
View ArticleAsk for Help (v1) • Re: Swapping unshifted and shifted versions of keys
Welcome to this AutoHotkey forum!Perhaps:CODE: #Requires AutoHotkey v1.1.33.11$~::Send ``$`::Send ~Explained: Escape sequencesIf you are new to AHK, I recommend using its current version, which is v2,...
View ArticleScripts and Functions (v2) • Re: UIA v2
I run UIA_Browser_Example03_Login.ahk of UIA2 on my computer(Win7 x64 , vivaldi),the following error appears. What might be the reason for this and how can it be resolved? Thank you very...
View ArticleAsk for Help (v2) • Re: Hotkeys with RButton while keeping original function
Try this:CODE: #Requires AutoHotkey v2.0; RButton keeps its original function.~RButton::~RButton Up:: { ; If a hotkey is pressed between RButton and RButton up. if (A_PriorHotkey != "~RButton") { ;...
View ArticleAsk for Help (v2) • AHK script to repeatedly type in a certain window?
Hi all.I need to create a script that will automatically type/press a key for me at a specific interval regardless of whether or not it's focused. I tried to take a stab at it but I got hopelessly...
View ArticleAsk for Help (v1) • Re: Excel data transfer Script not working
I have fixed most of the problems, I am just stuck at the Error: 0x80010001 Call was rejected by called party. This error can occur under several conditions, in particular: This error can occur under...
View ArticleScripts and Functions (v2) • ChildProcess
RunCMD.ah2CODE: RunCMD(CmdLine, WorkingDir:=A_WorkingDir, Codepage:="UTF-8") { DllCall("CreatePipe","Ptr*",&hReadPipe:=0,"Ptr*",&hWritePipe:=0,"Ptr",0,"Uint",0)...
View ArticleAsk for Help (v1) • Re: IFWinActrive stop keyboard key from working out of...
Welcome to this AutoHotkey forum!An easy way is simply to use an #If directive before your hotkey. When the condition is not met, the hotkey does whatever it normally does.CODE: #Requires AutoHotkey...
View ArticleAsk for Help (v2) • Re: AHK script to repeatedly type in a certain window?
Hello,Ideas are below. This forum also has hundreds or thousands of other scripts that use ControlSend, in case you need more examples.CODE: #Requires AutoHotkey v2.0winTitle := 'ahk_exe...
View ArticleAsk for Help (v2) • Re: Get sc key code always for English keyboard
Try this:CODE: MsgBox "current language: " Format("sc{:x}", GetKeySC("/"))MsgBox "english: " Format("sc{:x}", GetKeySCFromLang("/")); Get SC key for keyboard layout, default is...
View ArticleAsk for Help (v1) • Re: Cmd Hide And Output/RunCmd
CODE: cp:=new ChildProcess_ConsoleSend("aescrypt.exe -d -o - x.txt.aes")while (cp.Peek()!=="E n t e r p a s s w o r d : ") { Sleep...
View ArticleGaming Help (v1) • Loading Dropdownlist selection from INI file
CODE: IniRead, GearChestExcludeSelected, settings.ini, CommonOptions, GearChestExcludeIniRead, JewelChestExclude, settings.ini, CommonOptions, JewelChestExclude......Gui Add, Text, x150 y340 w200 h30,...
View ArticleScripts and Functions (v2) • Re: ChildProcess
Finally! I've been waiting for this. Statistics: Posted by william_ahk — Today, 20:00
View ArticleGaming Help (v1) • Re: Loading Dropdownlist selection from INI file
More lines of the code so you can see what I have that works versus what doesn't. Everything with checkboxes works, the ini is populated correctly, just not finding any way to get the dropdown list to...
View ArticleAsk for Help (v1) • Re: press O 20 times and repeat after 200 seconds
You can change the timer period to a different number.Statistics: Posted by mikeyww — Today, 19:28
View ArticleAsk for Help (v2) • Re: Using the clipboard
Hello,Why not Ctrl+C? It is a standard key sequence to copy selected text.To send modified keys, read: https://www.autohotkey.com/docs/v2/lib/Send.htm#ParametersHow to use ClipWait properlyStatistics:...
View ArticleGeneral Discussion • Re: Xaml? (v2.0-beta.2)
sorry but where I can find this windows.ahk #Include ../windows.ahk?ok I found it herehttps://github.com/Lexikos/winrt.ahkStatistics: Posted by xMaxrayx — Today, 19:36
View ArticleTutorials (v1) • Re: Profile Categories & SplashImage Tray Area
I figured out 1), How to "Profile reverse"CODE: ChangeProfileUp: Profile := Profile = Count ? 1 : Profile + 1 Gosub, _DisplayProfile RETURN ChangeProfileDown: Profile := Profile - 1 If Profile = 0...
View Article