Brian Dunning's FileMaker Custom Functions

WindowNamesAll ( dbNames ; excludeCurrentWindow )

Returns a List of all open window for the FileMaker App calling this function

  Average rating: 1.0 (1 vote) Log in to vote

Todd Dignan   Todd Dignan
Dignan Consulting Inc
http://dignanconsulting.com/

Share on Facebook Share on Twitter

  Sample input:
Example 1: WindowNamesAll ( DatabaseNames ; 0 )

Example 2: WindowNamesAll ( List(database1;database2) ; 0 )

Example 3: WindowNamesAll ( List(database1;database2) ; 1 )
  Sample output:
Example 1:
window1
window2

Example 2:
database1
database1 - window1
database2
database1 - window2

Example 3:
database1 - window1
database1 - window2

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns a List of all open window for the FileMaker App calling this function

Non-Recursion

dbNames: Name of the Database you want to get the open windows name of.
To get all open windows opened by FileMaker use the design function "DatabaseNames"

excludeCurrentWindow: Set to 1 to exclude the window calling this custom function from the list, otherwise 0.

This function will return all the name of all open windows for each database provided.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: