Jump to content
Sign in to follow this  

applescript - paste to field crash

Recommended Posts

-My solution is pasting the clipboard into a FMP field.

-Every time at first run, FMP crashes.

-Then intermittently it will crash after that.

-Bumping up the pause helped, but not with the first execution


Go to Layout

Go to Field

Perform AppleScript

Pause/Resume Script [ Duration 5 sec ]


tell application "System Events"

tell application "FileMaker Pro Advanced" to activate

tell process "FileMaker Pro Advanced" to keystroke "v" using command down

end tell

Any suggestions, or other solutions?

Share this post

Link to post
Share on other sites

Does using

do menu menu item "Paste" of menu "Edit"

work better? If nothing else, this would remove 3 lines of code.

OTOH, is there a reason why you aren't using the Paste script step in FMP?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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