Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries the list of FileMaker windows.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 3.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
none
Returns the list of window references.
Find all visible windows and return list of titles:
While(
[
names = "";
list = MBS( "Window.List" );
count = ValueCount(list);
index = 1
] ;
index ≤ count ;
[
WindowID = GetValue(list; index);
WindowVisible = MBS("Window.IsVisible"; WindowID);
WindowTitle = MBS( "Window.GetTitle"; WindowID);
names = names & If(WindowVisible; WindowTitle & ¶; "");
index = index + 1
] ;
// return all the titles of visible windows
names )
This function is free to use.
Created 18th August 2014, last changed 19th December 2022