September 16, 2025Sep 16 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!
September 16, 2025Sep 16 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
September 16, 2025Sep 16 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 September 16, 2025Sep 16 by Lorby_SI LORBY-SI
Create an account or sign in to comment