Author Topic: Focused window  (Read 1174 times)

0 Members and 1 Guest are viewing this topic.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Focused window
« on: March 11, 2015, 09:16:08 PM »
Is there a way to retrieve what process or app currently focused ?
I am using manual tracking using window.focus ... But I am hoping for a neater solution
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Focused window
« Reply #1 on: March 11, 2015, 09:39:55 PM »
There is a focused event and there is If programfocused in the logic block.  Is there something specific that you need this for that can't be handled by those?

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Focused window
« Reply #2 on: March 13, 2015, 12:33:05 PM »
If programfocused in the logic block.

I didn't know this one ... It does the job perfectly
When Voice command gets tough, use hand gestures