Jump to content
Sign in to follow this  
rivet

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

THE STEPS:

Go to Layout

Go to Field

Perform AppleScript

Pause/Resume Script [ Duration 5 sec ]

THE SCRIPT:

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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