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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    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.

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

Created 20th April 2019, last changed 21st November 2019


PageSetupDialog.Disable - PageSetupDialog.GetLastSettings

Feedback: Report problem or ask question.