Jump to content
Server Maintenance This Week. ×

How to check if FM file is open?


This topic is 4891 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I need that application running all the time. I have my files on the server and to open them on the client machine I use the "opener" FM db. It actually opens FM file hosted on the client machine and then a file that I need on the server.

I do not want the "opener" file to pop up every minute even though it does not really do anything.

If there is some way to avoid possible closure of FileMaker file on that computer, that would help too, but I do not how to do that. My goal is to have that file open all the time.

Thank you!!

Link to comment
Share on other sites

  • 4 years later...
  • 2 weeks later...

I have found that it doesn't just bring the already open window to the front it opens another iteration and calls it X -2

Me too - and its annoying because I wrote my scripts on the basis that it didn't matter if it was already open

Link to comment
Share on other sites

If you're not adverse to using the Terminal then this could easily accomplish this with a crontab. This will run in the background without bothering you:


bash

export EDITOR=pico

crontab -e

1  *  *  *  * open Path/FileName.fp7

2  *  *  *  * open Path/FileName.fp7

3  *  *  *  * open Path/FileName.fp7

4  *  *  *  * open Path/FileName.fp7

.

.

.

59  *  *  *  * open Path/FileName.fp7

0  *  *  *  * open Path/FileName.fp7

The ... should be filled in with every minute of the hour, since this sounds like what you want. the * * * * means that it will run any hour, day, month and day of the week. If you're not sure of the path to the file just copy it in the Finder and paste it into the Terminal. To view the crontab type 'crontab -l' and to remove it type, 'crontab -r'.

Link to comment
Share on other sites

This topic is 4891 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.