I'm attempting to automate a program called Ots Studio. WindowSpy recognizes there is a window, gives me the title and size of it (but no controls within) and AHK will even give me the ahk_id of it. But no commands effect it! I can't send a simple ^w, I can't minimize it, close it, nothing I try works!
I've even tried just a generic Send (as well as SendInvite and SendEvent) when the window is just active and nothing! Zip! Nada!
Listed all windows with DetectHiddenWindows On and it finds the main studio window but nothing else (I was thinking maybe there was a hidden overlay or something)
Is there a way to force the computer to recognize AHK sends as keyboard commands that this thing can't ignore?
Window ignores AHK Topic is solved
-
- Posts: 47
- Joined: 09 Oct 2014, 11:44
Re: Window ignores AHK Topic is solved
Try running your script as administrator
A_IsAdmin
A_IsAdmin
EitherMouse - Multiple mice, individual settings . . . . www.EitherMouse.com . . . . forum . . . .
-
- Posts: 47
- Joined: 09 Oct 2014, 11:44
Re: Window ignores AHK
THANK YOU!!!
I added:
And it works now!!!
I added:
Code: Select all
if not A_IsAdmin
Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%"
Who is online
Users browsing this forum: wilkster and 323 guests