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.

Please Help: Repeating Script....

Featured Replies

I'm using:

code:


on idle

set myDate to current date

set currentTime to time of myDate

tell application "FileMaker Pro"

tell database "Users.fp5"

do script "TimeIn"

end tell

end tell

return (30 * minutes)

end idle


But.... crazy.gif" border="0

The "on idle" and "end idle" commands stop my applescript from working.

So I've tried using

code:


set myDate to current date

set currentTime to time of myDate

tell application "FileMaker Pro"

tell database "Users.fp5"

do script "TimeIn"

end tell

end tell

return (30 * minutes)


And my applescript works but the "return (30 * minutes)" command doesn't work either.

Can you please help me create a repeating script?

There are also a number of ways you can save an applescript. Which one would you suggest I use?

Thank you.

smile.gif" border="0

First of all, I hope you are setting up this applescript as an external application (with the applescript Script Editor), not as part of a filemaker script.

In Script Editor, when you save the script, you need to save it as a "stay open" script. Do a Save As... and select application from the pop-up menu. You are then given two checkboxes. Select the "Stay open" one. That should fix things.

  • Author

Thanks for your help Bob.

Yes, the above script is written in the Script Editor. I've saved it as "stay open"... hopefully, it'll work then.

Cheers. smile.gif" border="0

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.