The Original FileMaker Community
Business Templates - Demo Apps - Video Tutorials -Samples - Help - 46000 Member Forum

The Leading Filemaker Developer Tools

How to Set a File to Auto-Open On Launch in FileMaker

There is a setting in FileMaker 18 that allows you to set a preference for automatically opening a file whenever FileMaker is launched. With FileMaker 18, the only way to set this preference was to specify it in a text document – Assisted Install.txt – when you first installed that application. In FileMaker 19, you can manually set this in the Preferences.

This setting can be quite useful in certain deployment scenarios, such as office-wide deployments, where your solution should open by default. Doing so will avoid users seeing the default FileMaker Launch Center that can be confusing to some users. The file to be opened can be either a local file or a file hosted on FileMaker Server or FileMaker Cloud.

A blog post from our friends at Beezwax shows how you can set this preference from the command line. Being able to use the command line makes it possible to use remote management tools to set this preference en masse.

With that as inspiration, I put together a FileMaker file that can set this preference. FileMaker can detect the platform you are running on, either Windows or Mac, and run the appropriate PowerShell or AppleScript command, respectively. The change will take effect after you restart FileMaker Pro.

For Windows installations, the scripting sets the value for the current user, but you could also set the preference at the local machine level so all users would get this preference set. This should be set according to the deployment requirements.

You can use this demo file to copy the scripting into your own file, depending on what suits your application and deployment. This technique makes it easy for FileMaker developers to set this preference without having to involve IT personnel. Reference the scripting in the file to modify as you see fit and use for your purposes.

Get the Demo File

You can download a copy of the unlocked file here. If you have any questions, please reach out to our team.

 

On this site we promote, share and showcase material from Soliant Consulting one of the BEST consulting company’s in FileMaker.

We encourage you to visit their site and to inquire about their services. FMT is proud to deliver and promote FileMaker for Small Business Owners Worldwide since 1997. Our Forum The Original FileMaker Forum has 45,700+ members.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy