Author Topic: Tell what program I have focused?  (Read 1250 times)

Malic

  • Full Member
  • ***
  • Posts: 105
Tell what program I have focused?
« on: November 19, 2019, 01:02:55 PM »
I am trying to write a command for Elite Dangerous that will auto enter a system name into the galaxy map and hit enter so I can do it hands free in VR.

however, when chat asks about a system, I want to be able to select my chat window and still use the same command, but not have it hit enter

Is there a way in the VA coding, to have it do a check and see if a window is in focus or not?

Malic

  • Full Member
  • ***
  • Posts: 105
Re: Tell what program I have focused?
« Reply #1 on: November 19, 2019, 01:12:09 PM »
never mind, found out a way with third post here: https://forum.voiceattack.com/smf/index.php?topic=1906.0

Am using the {ACTIVEWINDOWTITLE} and making sure to see if Elite is in focus