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.

Timeout on "activate" - but why?

Featured Replies

  • Author

Running FMPro 7 locally...

I run the following script and I'm getting an error (Timeout on appleEvent) on the SECOND "activate" command.

The first 'tell... end tell' section works perfectly, but the second seems to fail.

I thought it was an error in the second FM database, but I switched the order and the problem still comes up during the second "activate".

- Just for fun, I removed the second "activate" and the same timeout error occurs on the "open file..." command.

- The last command in the FIRST FM database script is to "close document" (which works fine).

Is this more AppleScript voodoo??

Thanks in advance for any help/advice.

tell application "FileMaker Pro 7"

activate

open file "Macintosh HD:Users:user1:Desktop:New system:TS101Creator.fp7"

do script FileMaker script "Run Report"

end tell

tell application "FileMaker Pro 7"

activate

open file "Macintosh HD:Users:user1:Desktop:New system:TS103Creator.fp7"

do script FileMaker script "vertToHoriz22"

end tell

Running FMPro 7 locally...

I run the following script and I'm getting an error (Timeout on appleEvent) on the SECOND "activate" command.

The first 'tell... end tell' section works perfectly, but the second seems to fail.

I thought it was an error in the second FM database, but I switched the order and the problem still comes up during the second "activate".

- Just for fun, I removed the second "activate" and the same timeout error occurs on the "open file..." command.

- The last command in the FIRST FM database script is to "close document" (which works fine).

Is this more AppleScript voodoo??

Thanks in advance for any help/advice.

tell application "FileMaker Pro 7"

activate

open file "Macintosh HD:Users:user1:Desktop:New system:TS101Creator.fp7"

do script FileMaker script "Run Report"

end tell

tell application "FileMaker Pro 7"

activate

open file "Macintosh HD:Users:user1:Desktop:New system:TS103Creator.fp7"

do script FileMaker script "vertToHoriz22"

end tell

Your process needs more time. AppleScript gets angry if it takes more than two minutes. Try adding a timeout:

tell application "FileMaker Pro 7"

activate

open file "Macintosh HD:Users:user1:Desktop:New system:TS103Creator.fp7"

with timeout (5*60) seconds -- this will give you five minutes to complete the task

do script FileMaker script "vertToHoriz22"

end timeout

end tell

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.