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.

go to field with a non FM applescript

Featured Replies

Hi

I want an applescript to copy something to the clipboard in Safari and then to paste it into a given field in Filemaker and I can't work out how to get Applescript to recognize the given field. Would any body be able to help me. Here is my script so far.

tell application "Safari"

activate

tell application "System Events"

tell application process "Safari"

keystroke "c" using command down

keystroke return

end tell

end tell

end tell

tell application "FileMaker Pro"

activate

set field "commentaire" of current record to clipboard

end tell

The line "set field "commentaire" of current record to clipboard" obviously does not work

  • Author

Is it possible to get a non Filemaker applescript (that is one that is not running from with Filemaker) to run a Filemaker script? If that is the case my problem is solved. Only I don't know how that script would go.

  • Author

Well I'm answering my own question but this may be useful to others. Here is the solution I found

tell application "Safari"

activate

tell application "System Events"

tell application process "Safari"

keystroke "c" using command down

keystroke return

end tell

end tell

end tell

tell application "FileMaker Pro"

activate

tell application "FileMaker Pro"

do script FileMaker script "go_to_field_commentaire"

end tell

end tell

Small but important syntax change required:

set field "commentaire" of current record to (the clipboard)

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.