ControlSend without classNN

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Marcell
Posts: 46
Joined: 26 Jul 2016, 05:47

ControlSend without classNN

02 Apr 2017, 06:10

Hi all, been inactive for a while. Funny story I was helping the company save time using AHK and in some cases up to 70% of time was saved and they blocked this website for a year or so. Anyways, enough history of a random internet user and let me get into the problem.

I'm trying to use ControlSend on a window that changes its name each time you launch it and it has no classNN using Spy. My code:

Code: Select all

SetTitleMatchMode, RegEx
ControlSend, , X, LAB.DLIV
I've pretty much copy pasted this from someone else's code and changed the file name and removed the classNN and it doesn't work at all. I think there might be something wrong with the classNN being missing, because I've used the window's name as it is and it still didn't send anything.

Any advice?
User avatar
SnowFlake
Posts: 368
Joined: 28 Apr 2015, 05:41
Contact:

Re: ControlSend without classNN

11 Apr 2017, 16:00

"company save time using AHK and in some cases up to 70% of time was saved" wow thats great :D

try using the window id instead of the window name when sending the key and also try running the script as admin
:yawn:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: adam86shadow, Chunjee, Google [Bot], JKJadan, TAC109 and 287 guests