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

Scheduled script to startup FM

Featured Replies

A couple of years ago I managed to create a trigger whichs opens my database in Filemaker at 7 o'clock in the morning. Now I want to change the behavior of that script, but I have completely forgotten how I made it.

 

I have been reading about 'script triggers' and related topics, but this havn't solved the problem.

 

In the menu 'Manage scripts* I havn't got anything like it. Where is such af script/trigger defined and stored og how can I edit it?

 

I'm running Mac OS Yosemite. I have been looking in the calender, but can't find any actions starting 7 a.m. seven days a week.

 

P.S. My actual need is now to close down Filemaker at 8:45 monday to friday, alternetively pop up a message: "Please finish your work and close Filemaker within the next five minutes".

Not sure what exactly your question is. If you're asking how you managed to get your database to launch every morning, there are several possible answers;  let me start with the one answer that isn't possible: it cannot be done within Filemaker. Filemaker will not do anything unless [a] the Filemaker application is running and  there is at least one file open. And in order to execute a scheduled action, [c] the open file must have an OnTimer script installed in one of its currently open windows. From your description, it seems that none of these conditions apply to your situation.

 

The other possibilities are OS-level scheduling, using one of these: iCal, launchd or cron.

If you need to close FileMaker you can use the same mechanism: at 8:45 use the OS scheduling tools to launch a FM file that will check what files / windows are open and show the dialog to the user.

You can also build it into your solution itself with the OnTimer but I think that would be a lot of overhead during the day and could be difficult to get right if your users open and close windows throughout their session.

I have a set of MacMinis that turn off every night, under the mac os setting options. In the morning at 5am, they power up and the only file they launch after auto login is a FM  db on the local machine. This then launches another script that connects to the network db.

 

It works very well.

Harry, do you mean the machines SLEEP very night? Once a machine is completely powered down, or "off" there's no way for it to start itself, no?

Rick, look at the Energy Saver Preference Pane, and click the Schedule button in the lower right corner.

Doug, not at a computer at the moment. I'm surprised to hear this and I consider myself very conversant with macs. Are you saying a machine can turn itself back on after a shut down?

I have a set of MacMinis that turn off every night, under the mac os setting options. In the morning at 5am, they power up and the only file they launch after auto login is a FM  db on the local machine. This then launches another script that connects to the network db.

 

It works very well.

 

I don't know... clearly these are not running FileMaker Server?

Rick. Scheduled startup. Yes. Been there for decades.

post-62898-0-92517000-1424057554_thumb.p

Harry, do you mean the machines SLEEP very night? Once a machine is completely powered down, or "off" there's no way for it to start itself, no?

No, You can set a Mac, under 'Schedule' to Sleep, or Restart or Shut Down.

I don't know... clearly these are not running FileMaker Server?

No, FMP clients connecting to FMS13.

Harry: you didn't mention Start. The machine can be completely shut down. It will start on the scheduled day and time.

Can't believe I didn't know that! Live and learn . . .

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.