Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides Examples
New in version: 7.0 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 Statistic
Asks app to open a given file.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|path||The native file path to the file to open.||"/Users/cs/Desktop/test.fmp12"|
Returns OK or error.
DescriptionAsks app to open a given file.
This happens asynchronously, so we have no idea if it works or not.
FileMaker may show error dialogs.
This call must be last in a script as you can’t open a file while a script is running, the file should open when the script is done. You can use FM.RunScriptLater to run a script in a few seconds to follow up. There you can check with window functions and see if there is a new window in front.
See also Files.Launch and Files.LaunchFile.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
Open a database:
Feedback: Report problem or ask question.
MBS Xojo PDF Plugins