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.

Open recently added record in AppleScript

Featured Replies

I have a rudimentary AppleScript that sends data from FMP to AddressBook (using Perform AppleScript/Calculated AppleScript):




Let ([

  _qt = Individual::Qmk;  //Quotation Marks

  _fn = _qt & Individual::name_first & _qt;

  _ln = _qt & Individual::name_last & _qt];



"tell application "Address Book"¶

  set newPerson to make new person with properties {first name:" & _fn & ", last name:" & _ln & "}" & ¶ &

 "save "addressbook" ¶



  set AddressBookId to id of newPerson¶

end tell¶



delay 1¶



tell application "FMPA 11" ¶

  set cell "AddressBookID" of current record to AddressBookID¶

end tell"



)

(There is another method that I discovered after I wrote the above: FMP to AB )

Now that the data is pushed I would like to open Address Book to that newly created record. I have tried this, without any luck.

It seems that there should be a way for AppleScript to leave FileMaker, go to Address Book and find the new record, though I don't know how to do it.

Can anyone help?

Thanks.

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.