Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with displaying a window in MSFS 2024 AAO EFB

Featured Replies

I cannot figure out how to display a window on the 2024 EFB using the AAO efb app. I was successful with displaying Sky4Sim following the example.

Capturing a desktop window is another story. My understanding was that if the host/port are set to default, the capture to FIP command would do the trick. No such luck. Is it supposed to be wrapped up in some other FIP script? Can I have an example if anybody has done this?

Thanks!

 

  • Commercial Member

By "displaying a Window" you mean, capture an application window from your Windows Desktop and display it on the EFB App?

For that you would have to create either a WebFIP that does the capturing, and displays the result, or an AAO WebPage (like I do with the WebFMCs V2). 

What exactly are you trying to capture? Does it need a high refresh rate?

LORBY-SI

  • Commercial Member

A FIP would look for example like this:

<?xml version="1.0" encoding="utf-8"?>
<Gauge Name="Outlook Capture Full" Version="1.0">
<Position X="0" Y="0"/>
<Image Name="(L:outfull, String)" ImageSizes="960,540,960,540"/>
<Update>
  <Frequency>5</Frequency>
  <Script>
    (CAPTURETOFIP:outlook|outfull|FULL|RESIZE~960~540)
  </Script>
</Update>
</Gauge>

This captures the main window of my MS Outlook process and displays it as an Image Element. This is just a display, it doesn't have mouse control. This can be used as WebFIP too.

As for the CAPTURETOFIP command:
"outlook" is the name of the MS Outlook process
"outfull" is the name of the String LVar that stores the image data. You can call it whatever you want, it must be unique for every CAPTURETOFIP that is running at the same time with others.

An AAO WebPage doing the same thing would look like this.

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  <title>Outlook capture</title>
  <script src="AaoWebApi.js"></script>
</head>
<body style="background: black;">
	<img id="Screenframe" style="width: 960px; height: 540px;"></img> 

	<script>

	var webApi = new AaoWebApi();
    
    var lastval = "";
    var ul = null;
    
    // Load screen from WebAPI
    function UpdateLoop() {
        var val = webApi.GetSimVar("(L:outfull, String)");
        if (val && val !== lastval) {
            lastval = val;
            var image = document.getElementById('Screenframe');
            image.src = "data:image/png;base64," + lastval;
        }
        webApi.SendScript("(CAPTURETOFIP:outlook|outfull|FULL|RESIZE~960~540)");
    };
    
    webApi.StartAPI(150);

    ul = setInterval(UpdateLoop, 150);

</script>
</body>
</html>

 

Edited by Lorby_SI

LORBY-SI

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.