9 Replies Latest reply on Apr 30, 2012 8:17 AM by mweeks24

    Problem launching Filemaker 12 Pro file on OSX Lion Startup

    mweeks24

      Hello,

       

      We recently upgraded all of our systems (total of 5 systems, with one being the "host" machine for our Filemaker hosted database) to Filemaker 12 Pro, from Filemaker 11 Pro.

       

      Everything has been converted over with no error messages - and everything works, with the exception of one item:

       

      On the hosted machine ile when using Filemaker 11 Pro, we setup the OSX environment to launch the hosted file at each system restartstart-up (in the event of a power outage, etc.). The hosted file would then launch (without requiring a password, as no password was necessary for the host account) and make all of the hosted file(s) available for us to connect to (taken care of via a script on startup). However, using the Filemaker 12 Pro version (with the OSX setup in the same way to launch the new 12 Pro file), the system will show the Filemaker splash screen, then disappear, with the Filemaker App Icon bouncing in the dock. If we click on the bouncing icon, everything launches a works correctly. This isn't desirable, as we would like this process to be unattended.

       

      Any ideas or something would need to addcheck on in the startup script to make this work correctly for the new version (maybe something in the scripting tools changed)? Please note that if we launch the file directly (such as after closing Filemaker and re-opening it), everything works as it should without any problems. Thoughts?

       

      Any help would be greatly appreciated.

      Thanks.

       

      Mike

        • 1. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
          Stephen Huston

          Are you trying to open a file that is already being hosted on a nother computer/server, or are you trying to open a local file to be hosted via the computer that is starting up?

           

          You could create a launcher file which, when opened, uses the correct account credentials to open the other file, place the launcher only on that machine, and set that file to be opened at restart.

          • 2. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
            mweeks24

            Hello Stephen,

             

            Thank you for your reply.

             

            To answer your response:

             

            1. We are trying open file locally to be hosted via the computer that is starting up.

             

            2. We have the launcher file (which is the file we are trying to open) that it turn launches several other files via a startup script (no problem there) using the correct credentials.

             

            The problem that we are seeing is that the launcher file is not wanting to launch unless it is clicked on (when restarting OSX Lion). The Filemaker splash screen appears and disasappears (as normal), but then the Filemaker App Icon just bounces in the dock waiting to be clicked on. This didn't happen with Filemaker 11 Pro, which makes me think that something changed with Filemaker 12 Pro. Thoughts?

             

            Thanks.

             

            Mike

            • 3. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
              Stephen Huston

              I would have the launcher file open only one file, and have a startup script in that target file that opens all the others.

               

              Be sure that the account creditials in all files match exactly so none of them have a hidden login window needing attention.

               

              Have heard other Lion issues similar to this, but account credential issues were behind at least some of them.

              • 4. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                Stephen Huston

                Also check that startup scripts in the various files do not fire when this account launches the files, other than the opening of the files from the launcher and the first file.

                 

                Those onOpen processes may be creating an issue with simple file opening. After all, you are wanting this computer to act as a Host, not a client.

                 

                [ And think about moving to Server, which will solve the problem and be much safer for your files. ]

                1 of 1 people found this helpful
                • 5. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                  mweeks24

                  Hello Stephen,

                   

                  Thanks - we will check this out and let you know how it goes.

                   

                  Mike

                  1 of 1 people found this helpful
                  • 6. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                    brucewilson

                    I believe it is a case of FileMaker wanting to be the foremost application before it will open the file. Other login items that launch after FileMaker, or take longer to open can come to the front and make FileMaker pause. Consider removing other login items, or setting them to "hide".

                     

                    If that does not work you can open the launcher file some time after login, using either a launch demon (Lingon is good for that), or an AppleScript with a timer that is opened at login.

                     

                    Bruce

                    • 7. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                      mweeks24

                      Hello Bruce (and Steve),

                       

                      We are still having problems with this particular issue; there are no other startup items for this login (under system preferences). However, it is now acting very strangely: sometimes the file will launch as desired (unattended, no bouncing app icon in dock) and other times it needs a click or some interaction with the bouncing icon to launch the file. Any thoughts on why this might be? It almost seems like there is a bug or something going on between Filemaker 12 and OSX Lion.

                       

                      Any guidance on writing a simple Applescript to do the user interaction for us (I've never had to write Applescripts before, but have quite a bit of experience with Windows VBA, SQL, etc.)?

                       

                      I would greatly appreciate any thoughts or ideas that you might have.

                      Thanks.

                       

                      Mike

                      • 8. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                        brucewilson

                        Here is one I use, created in Applescript's Script Editor, saved as an application with no startup screen. That application is then set to Open at Login.

                         

                        delay 300

                        tell application "Finder"

                                  open alias "Macintosh HD:Users:user:Documents:LauncherFile.fp7"

                        end tell

                         

                        300 is the number of seconds, 5 minutes in my case. You will probably want something shorter, try 30.

                         

                         

                        Bruce

                        • 9. Re: Problem launching Filemaker 12 Pro file on OSX Lion Startup
                          mweeks24

                          Hello Bruce (and Stephen),

                           

                          Taking this approach worked perfectly - thank you very much for your help.

                           

                          This almost appears to be certainly a bug in Filemaker 12 Pro, as even trying to launch the Filemaker 12 Pro app by itself at startup; produces the same results.

                           

                          Thanks again for your help!

                           

                          Mike