-
[AutoHotkey] Macros won't run in DxNothing window
All hotkeys/scripts set in autohotkey will not fire when the dxnothing window is active, nor will they continue if started in another window.
For eg.
*^u::
KeyWait, NumPad0, D
Cclick(1, 1, 660, 520, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 660, 600, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 660, 680, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 660, 760, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 730, 520, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 730, 600, 1)
KeyWait, NumPad0, D
Cclick(1, 1, 730, 680, 1)
return
If ran in word. Hitting Ctrl+Shift u runs the script. Hitting Numpad 0 progresses through each step.
In Dxnothing well.. nothing.
If Ctrl+Shift u is hit in word, then switch to dxnothing, Numpad 0 will not progress but will when switched back.
Any idea what's going on here or how to fix?
-
Oh Cclick is a custom click function I use, not standard, but the idea is the same.
-
Member
Chances are it comes under the same category as: http://isboxer.com/wiki/FAQ#Why_is_m...not_working.3F
When dxnothing runs under Inner Space, it is an admin process. which means AHK would also need to be an admin process.
Admin processes have privileges when it comes to input focus, and they override other applications, but essentially, everything needs to be on a level playing field.
-
Thank you kindly, That was it, such a simple fix.
-
Member
Yep, AHK should generally be run as admin.
Tags for this Thread
Posting Rules
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Connect With Us