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.

pauses in a script

Featured Replies

Is it necessary to put a pause in a filemaker script which calls this applescript? It loops through all records setting the image to the path.

set image_path_var to cell "ImagePath" of current record

set cell "SKETCH" of current record to file image_path_var

You may need to include a pause for the Applescript to complete - it depends on what the Applescript is doing and if you are using a result to complete the FileMaker script.

I'm not an Applescript expert by any means, but looking at yours, it looks like you may need maybe a second or so pause to let the Applescript to bring the information into the field.

Just try it without a pause and if it doesn't work, start with a 1 second pause and increase it until the scripts work.

I hate time delays. If they are long enough to ensure that everything works, then they likely are wasting a lot of time. Rather than pausing for a period of time and hoping that it is long enough for the Applescript to complete, I would have the Filemaker script do this:


Set field [Flag, ""]

Perform Applescript[whatever]

# The applescript should be set up so that its last step

# sets cell "Flag" to some value.

Loop

 # Wait in the loop until Flag is set

 Exit Loop If [not IsEmpty(Flag)]

End Loop

You likely would want to include some time checking in the loop so that if something goes wrong with the applescript, it won't cycle endlessly.

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.