Jump to content

Windows focus?


Recommended Posts

I run several things at a time when I am in a FSX session, and some of these things are running independently in a second or third window.

 

What I would like is to be able to press a key that would bring the focus back to the FSX window when it has been moved off.

 

Has any one any ideas for this?

Link to post
Share on other sites

Alt Tab

 

or is that too easy?

 

It WOULD be nice to have a "Focus on FSX" key though...instead of cycling through my Netflix/ASN/Airhauler/FSX menu.

Usually I just mouse click the window I want to focus on/listen to.

Netflix sound keeps trucking on even if I focus on FSX...thankfully FSX shuts up when I focus on Netflix. :)

 

I was screaming cross the USA Sunday in the F106 at 50k feet, watching Star Trek Enterprise...I hate the intro music for that series, but it was appropriate as I was "touching the sky" during the trip...bit hair raising each time the intro ran...watched 4 or 5 episodes on that round trip from Cali to the Carolinas and back.

 

  • Like 1
Link to post
Share on other sites

J.G.,
 
Have a look at AutoHotKey, a freeware, open source scripting utility that looks pretty good and I think might be able to do what you want.  In particular look at their WinActivate command, which, at first glance seems to do what you're looking for.  I have never used this - haven't even downloaded it - but it looks useful and powerful.  
 
Home page:
 
 http://www.autohotkey.com/
 
Tutorial: 
 
http://ahkscript.org/docs/Tutorial.htm
 
John
 
EDIT:  
 
From their Commands Index...
 
WinActivate:  Activates the specified window (makes it foremost).
 
JDA

Link to post
Share on other sites

The tab idea is not what I want and the click back on the window is what I want to avoid. 

 

It is a focus back on FSX that I would like to do.  I often have to pause FSX and then navigate away from its window. I have a utility called Soundstream that ensures FSX sound does not vanish but then I get confused which window is active (Its an age thing).  If I had a focus on FSX button I could build this into a joystick button and the irritation problem would go away!

 

J. 

Link to post
Share on other sites

I use a utility called VAC (Voice Activated Commands)

 

It's VERY powerful and can do pretty much anything with a voice command, which you program in their "Builder" utility.  It's pretty magic and I use it for a number of things in FS.  It's payware with a 14 day trial (I think).  It was only $18 when I got it and apparently still is.

 

http://www.dwvac.com/index.html

 

John

 

 

  • Like 1
Link to post
Share on other sites

The tab idea is not what I want and the click back on the window is what I want to avoid. 

 

It is a focus back on FSX that I would like to do.

Crikey JG we we're only trying to help, this is a Windows problem and not resolvable IMO, even with a 3rd party app, you would probably end up making more key presses than a simple alt-tab or god forbid, clicking on the window you wish to activate!   :gaah:

 

 

Link to post
Share on other sites

 

The tab idea is not what I want and the click back on the window is what I want to avoid. 

 

It is a focus back on FSX that I would like to do.

Crikey JG we we're only trying to help, this is a Windows problem and not resolvable IMO, even with a 3rd party app, you would probably end up making more key presses than a simple alt-tab or god forbid, clicking on the window you wish to activate!   :gaah:

 

 

Sorry all, I didn't mean to sound snappy or anything but my usual humble self  :huh:

 

I have had a sh1t  day at the office dealing with a little Hitler client, no excuse but perhaps the comment matched my mood at the time. :th_blush:

Link to post
Share on other sites

John, You are right on the money!  Script created, - Bed time now, but will test it tomorrow.

 

AutoHotKey is an amazing tool, It has solved my problem and I can think of loads of other uses for it!

 

Thanks a bunch John  :thum:

Link to post
Share on other sites

Hi Brian.

 

Unfortunately despite AutoHotKey working well on my everyday PC, when I loaded it on to my FSX PC it really pissed off EZDok.  I could not use them  together.

 

I uninstalled AutoHotKey and EZDok calmed down again.

 

Have you used inputdirector on your FS PC?

 

If so. did it work well? any account of how you used it would be interesting to hear.

 

JG 

Link to post
Share on other sites

try this

(make sure the designated key isn’t used by the application you are having trouble with)

SetTitleMatchMode, 2 
^y::
	IfWinNotActive, Microsoft Flight Simulator X, , Microsoft Flight Simulator X, 
        WinActivate, Microsoft Flight Simulator X
       WinWaitActive Microsoft Flight Simulator X,
return

  • Like 1
Link to post
Share on other sites

Hi Brian.

Unfortunately despite AutoHotKey working well on my everyday PC, when I loaded it on to my FSX PC it really pissed off EZDok. I could not use them together.

I uninstalled AutoHotKey and EZDok calmed down again.

Have you used inputdirector on your FS PC?

If so. did it work well? any account of how you used it would be interesting to hear.

JG

Yes John, I use it all the time. No issues at my end.

Give it a try, its free.

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...