Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to check if FM file is open?

Featured Replies

Does anybody know how to write an apple script that would check if particular FileMaker file is open at the moment?

Thank you !!!

why?... if you try and run it while its already running all that happens is its brought to front...

  • Author

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!!

  • 4 years 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

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

Why isn't it terminated in the first place?

--sd

  • 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

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'.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.