Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anonymous window
#2
To send keys or characters to an inactive window, you need to know which child window (or the window itself) would have focus when the window is active. You cannot create a child window. This macro displays focused child or window info. Run it when the window is active. Then use that info in your macro, with function id, child or win.

Macro Macro1294
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
int w=child
str sc st; int cid
sc.getwinclass(w)
st.getwintext(w)
cid=GetWinId(w)
out "class=%s[]text=%s[]id=%i" sc st cid


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)