Results 1 to 6 of 6

Thread: 'Window Is Foreground?' help

  1. #1
    Join Date
    Jan 2006
    Posts
    10

    Default 'Window Is Foreground?' help

    I'd read the help on Windows Conditional actions but I can't seem to get 'Window Is Foreground?' working.

    Before I added this I had a basic file built that just sent the Up Arrow to a specific window (MainLobby) and this worked fine. I added the 'Window Is Foreground?' to the group, selected the window (again, MainLobby) using the Window Picker button.

    In the conditional jumps I had the group selected for 'focus' and nothing for not focused.

    Unfortunatly the Up Arrow worked regardless of the status of the app. After playing with it for a bit I could not find any combination of settings that would stop an event if the window is not in focus.

    Any help would be great.

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,550

    Default

    Post your GML so we can have a look.
    Ron
    No support through PM

  3. #3
    Join Date
    Jan 2006
    Posts
    10

    Default

    Thanks for taking a look Ron.

    Here is the file.
    Attached Files Attached Files

  4. #4
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,550

    Default

    You had that one linked up incorrectly. Have a look at how it did it here.
    Attached Files Attached Files
    Ron
    No support through PM

  5. #5
    Join Date
    Jan 2006
    Posts
    10

    Default

    Thanks Ron. I guess from the help file I got the impression that the condition was applied to the entire group rather than a single event.

    I'll get cracking on this and will be using my remote after dinner

  6. #6
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,550

    Default

    You used an action instead of the conditional. The action actually offers better performance, so stick with that.
    Ron
    No support through PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •