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.

AppleScript in runtime = <MyFile> got an error: Data is being accessed by another user, script, or transaction. (Error -10011).

Featured Replies

Hello,

FMP Dev 6.0v4, Mac OS 10.4.4

In my main solution I have a simple FMP script that preforms an AppleScript if Status(CurrentPlatform) = 1 or -1:

tell application "Timer"

	open "Timer.clm"

end tell

Where "Timer" is a FMP 6.0v4 runtime file and "Timer.clm" is the related runtime FMP file with a custom extension.

Basically this is meant to open the separate FMP runtime "Timer" from my main solution.

It works perfectly before I turn my main solution into a runtime.

Once the main solution is compiled however, the script returns the following error message:

got an error: Data is being accessed by another user, script, or transaction. (Error -10011).

Where is the name of my main solution file.

The "Timer" runtime does not open. The script returns this error no matter what.

Any idea ?

Thanks to all

Cheers

cincin

  • Author

Hello,

Here I am answering my own post again :

After some more testing I found a way to make it work, not sure exacly why it does work, but it does.

So in order for an AppleScript inside a runtime to be able to open another runtime without getting that pesky error message:

- The extensions of the two runtimes should be different

- There should be a single copy of the runtime being openned by the AppleScript on the computer, including in the trash.

Those are assumptions but changing the extension and making sure there was a single copy of the runtime being called by AppleScript solved my problem.

Hope it may help someone else...

Cheers

cincin

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.