Sounds like the difference between working or not working is whether FileMaker is open or not. If it's not open, the Launch Centre will come up when the app is launched.
You're suggesting it has to do with whether the screen is locked, but I'm not understanding this since it sounds like you've found a way past that anyway.
Couldn't you solve this by using AppleScript to open the FileMaker File instead of opening FileMaker?
Regardless of whether FileMaker is open or closed, or whether the Launch Centre is open or closed, opening the file will open FileMaker, bypass the Launch Centre, and open the file.
Is this file hosted? If so - stop everything and set up a server scheduled script!
Not sure if I get this right, but when I open a solution by double-clicking/open the primary file (MyFile.fmp12), it will prompt FMPA to launch and no Launch Center appears.
Have you considered a dedicated computer running either FM Server, or FileMaker Pro permanently left running with on-timer script. Much more reliable, far less moving parts.
The AppleScript reads:
tell application "FileMaker Pro Advanced"
open "[database name]"
tell database "[database name]"
do script "[script name]"
close database "[database name]"
quit application "FileMaker Pro Advanced"
As long as my computer is unlocked then this works fine. But if the computer is locked (i.e. in System Preferences | Security & Privacy I have a login password that is required [x] minutes after sleep or screen saver begins) then that AppleScript fails at the second line ("activate"). That line just hangs at the Launch Centre and the next line, to open the database, doesn't execute.
I've tried the AppleScript without the "activate" line but then the AppleScript doesn't work.
Any thoughts anyone?
I'm not familiar with AppleScript, but would it be possible to skip that 'tell application "FM Pro Advanced"' and just use kind of a 'open [MyPrimaryFile.fmp12]' instruction?
I don't think the problem has anything to do with the Launch Centre. The problem is the locked screen.
But in case I'm wrong...
Try adding this at the beginning, before "tell application "FileMaker Pro Advanced". Then you can remove "open "[database name]"
tell application "Finder" to open "path:to:file name.fp12"