« MBS FileMaker Plugin,… | Home | Five days left for ea… »

Restart FileMaker with same database


With next 7.2 plugin, we can now restart FileMaker and open the same database:
 

Set Variable [$dbpath; Value:Get ( FilePath )]

Set Variable [$dbpath; Value:MBS( "Path.FileMakerPathToNativePath"; $dbpath )]

Set Variable [$apppath; Value:MBS( "App.GetProcessPath" )]

Set Variable [$r; Value:MBS( "Files.Launch"; $apppath; $dbpath; 1 )]

Exit Application

 
Normally on Mac launching the app would use the same instance. But with the new flag 1 on the end, we start a new instance.
So this script will launch a new copy of FileMaker and quit the current application.
21 04 17 - 10:17
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.