Jump to content

Archived

This topic is now archived and is closed to further replies.

vincentrouleau

Tip: Full screen in windowed moded

Recommended Posts

Hi,Its been an expensive past 2 weeks waiting for the 737NGX. Finally got EZCA, AivlaSoft's EFB and a Logitech's G13 keypad. Must say now that I can finally be efficient in VC now. I had EFB on my iPad screen using AirDisplay and the windows menu bar was ruining my otherwise perfect setup. I installed "AutoIt" and created a small script to resize the FSX window as if it was in fullscreen:WinWait("Microsoft Flight Simulator X")WinMove("Microsoft Flight Simulator X","",-8,-30,1935,1240)I now have a fullscreen FSX while being able to touchpress EFB on my iPad screen. View control using EZCA and the G13 is great:


Vincent Rouleau

Intel Core i7 8700K @ 5.1GHz / 32.0GB G.SKILL TridentZ DDR4 3000 / Gigabyte  GeForce® RTX 2080 / / Samsung C49RG9 49' /ASUS  PB287QQ ‑ 27" UHD / Samsung 970 PRO 1TB /  PNY SSD 1TB / Windows 10 Pro 64-bit / Gigabyte Z370 AORUS Gaming 5 Motherboard

Share this post


Link to post
Share on other sites

Wow, I have a G13 and I've been trying to figure out how to run EFB using my iPad without running in continuous windowed mode. Are you saying that you use the G13 and this script to switch between windowed and full screen mode, or do you keep it in this "false" full screen mode all of the time?


NAX669.png

Share this post


Link to post
Share on other sites
Too bad i get -10fps in windowed mode
Two options:1.-Set your task bar to hide automatically or what I do:2.- Disable Aero in windows and use a classic theme instead

Share this post


Link to post
Share on other sites

I mean I keep it in "false" fullscreen all the time... With auto hide task bar.


Vincent Rouleau

Intel Core i7 8700K @ 5.1GHz / 32.0GB G.SKILL TridentZ DDR4 3000 / Gigabyte  GeForce® RTX 2080 / / Samsung C49RG9 49' /ASUS  PB287QQ ‑ 27" UHD / Samsung 970 PRO 1TB /  PNY SSD 1TB / Windows 10 Pro 64-bit / Gigabyte Z370 AORUS Gaming 5 Motherboard

Share this post


Link to post
Share on other sites

How did you come up with the values for your script? Am I correct in assuming that the last two values are your screen resolution?


NAX669.png

Share this post


Link to post
Share on other sites
How did you come up with the values for your script? Am I correct in assuming that the last two values are your screen resolution?
Tested the script until it matched my 1920x1200 monitor resolution

Vincent Rouleau

Intel Core i7 8700K @ 5.1GHz / 32.0GB G.SKILL TridentZ DDR4 3000 / Gigabyte  GeForce® RTX 2080 / / Samsung C49RG9 49' /ASUS  PB287QQ ‑ 27" UHD / Samsung 970 PRO 1TB /  PNY SSD 1TB / Windows 10 Pro 64-bit / Gigabyte Z370 AORUS Gaming 5 Motherboard

Share this post


Link to post
Share on other sites
Tested the script until it matched my 1920x1200 monitor resolution
Yes, makes sense: -8,-30,1935,1240 indicates your side borders are 8 pixels wide (8 + 1920 + 8 = 1936), and you want 40 off the height, which must be 20 for the title bar and 10 each for top and bottom borders.So -8,-30,1936,1240 would be dead accurate, but I don't think yuou'd notice the one pixel border on the right! ;-)Pete

Win10: 2004 19041.264
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3900 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 30Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites
Yes, makes sense: -8,-30,1935,1240 indicates your side borders are 8 pixels wide (8 + 1920 + 8 = 1936), and you want 40 off the height, which must be 20 for the title bar and 10 each for top and bottom borders.So -8,-30,1936,1240 would be dead accurate, but I don't think yuou'd notice the one pixel border on the right! ;-)Pete
Thanks for the explanation,Pete. That makes things much easier.

NAX669.png

Share this post


Link to post
Share on other sites
Guest jahman

Many, many thanks for the AutoIt bit! That's really useful! :( Suggestion: Best to explicitly fish for the window border width within AutoIt (should be possible) and then subtract from the screen size so you don't need to adjust your scripts if you ever decide to change the width of your borders. Do the same for the screen size as well!If it's not possible, you may want to define these variables (Monitor1screenSizeH, Monitor1screenSizeV, Monitor1BorderWidth) in a separate file that could be included in your scripts, then you only need to make the changes in one place and they will propagate.Just standard programming techniques.Cheers,- jahman.

Share this post


Link to post
Share on other sites
Many, many thanks for the AutoIt bit! That's really useful! :( Suggestion: Best to explicitly fish for the window border width within AutoIt (should be possible) and then subtract from the screen size so you don't need to adjust your scripts if you ever decide to change the width of your borders. Do the same for the screen size as well!If it's not possible, you may want to define these variables (Monitor1screenSizeH, Monitor1screenSizeV, Monitor1BorderWidth) in a separate file that could be included in your scripts, then you only need to make the changes in one place and they will propagate.Just standard programming techniques.Cheers,- jahman.
Good idea, autoit has this "compiler" that generates an executable. I could create a generic 'fsx full screen' executable an upload it to avsim so people won't have to download and install autoit at all.

Vincent Rouleau

Intel Core i7 8700K @ 5.1GHz / 32.0GB G.SKILL TridentZ DDR4 3000 / Gigabyte  GeForce® RTX 2080 / / Samsung C49RG9 49' /ASUS  PB287QQ ‑ 27" UHD / Samsung 970 PRO 1TB /  PNY SSD 1TB / Windows 10 Pro 64-bit / Gigabyte Z370 AORUS Gaming 5 Motherboard

Share this post


Link to post
Share on other sites

It would have been even more helpful to post a link to "AutoIt..." :( http://www.autoitscript.com/site/autoit/Reaching and using the top menu bar must be a bit difficult though, being off-screen and all... :(


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556

Interests: Gauge Programming - 3d Modeling for Milviz

Share this post


Link to post
Share on other sites

I'm kinda surprised no-one has "Deleted" this post, as it should really belong in the "Hints & Tips" forum.... I mean... that's what happens to hardware problem posts... doesn't it? :( :(

Share this post


Link to post
Share on other sites
Reaching and using the top menu bar must be a bit difficult though, being off-screen and all... :(
I didn't move the window so to hide the menu bar. I still use the 'alt' key to show/hide the menu bar, as in real fullscreen.

Vincent Rouleau

Intel Core i7 8700K @ 5.1GHz / 32.0GB G.SKILL TridentZ DDR4 3000 / Gigabyte  GeForce® RTX 2080 / / Samsung C49RG9 49' /ASUS  PB287QQ ‑ 27" UHD / Samsung 970 PRO 1TB /  PNY SSD 1TB / Windows 10 Pro 64-bit / Gigabyte Z370 AORUS Gaming 5 Motherboard

Share this post


Link to post
Share on other sites
Two options:1.-Set your task bar to hide automatically or what I do:2.- Disable Aero in windows and use a classic theme instead
Can you eloborate on the 2nd item. How and where do you disable Aero? Using win7 ? Which classic theme, where? thanks.Ray

When Pigs Fly . Ray Marshall .

Share this post


Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    31%
    $7,930.00 of $25,000.00 Donate Now
×
×
  • Create New...