Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

PageSetupDialog.Enable

Enables the page setup dialog extension.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 9.2 Yes No No No No
MBS( "PageSetupDialog.Enable" )   More

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.




Links
MBS FileMaker Plugins