2 Replies Latest reply on Jun 3, 2008 7:50 AM by Beau West

    (AJAX) See if my Application has focus?

    Beau West
      I'm wanting an event to fire in the background if the user's focus is on any other window they may have open. However, I haven't been able to find a way to check to see if my application has the focus, or is the active application. I've tried:

      if(!NativeWindow.active) { [...] }

      to no avail. Is there a Boolean operator that will tell me if my application is the one that is currently the user's focus?