Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

PageSetupDialog.Enable

Enables the page setup dialog extension.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 9.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PageSetupDialog.Enable" )

Parameters

none

Result

Returns OK or error.

Description

Enables the page setup dialog extension.
Your page setup commands in FileMaker should show a dialog, so the plugin can intercept it.
If you disable dialog for the FileMake Script step, the plugin has no way to intercept the printing.

Use Printer.SetPrinter for similar features on Windows.

Examples

Enable:

Set Variable [ $r ; Value: MBS("PageSetupDialog.Disable") ]

Run dialog with plugin:

Allow User Abort [ Off ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Install") ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Enable") ]
# set options here
Set Variable [ $r ; Value: MBS( "Schedule.EvaluateAfterDelay"; ,1; "MBS( \"Menubar.RunMenuCommand\"; 57606 )") // run Page Setup Dialog in 0.1 seconds ]
Pause/Resume Script [ Duration (seconds): 1 ]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 20th April 2019, last changed 7th June 2021


PageSetupDialog.Disable - PageSetupDialog.GetLastSettings

💬 Ask a question or report a problem