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 Stopped Working

Featured Replies

  • Newbies

I wrote / rewrote the script below, which dumps the FM contact into Address Book. It stopped working (not sure if it was when I upgraded to FM advanced 11?)

Any ideas why? I have another script that dumps info in iCal and that still works fine.

-- grab the data from Filemaker

tell application "FileMaker Pro Advanced"

tell current record

set theFirstName to cellValue of cell "Customer FirstName"

set theLastName to cellValue of cell "Customer LastName"

set thePhoneMobile to cellValue of cell "Phone_Mob"

set thePhonehome to cellValue of cell "Phone Home"

set thePhonework to cellValue of cell "Phone work"

set theEmail to cellValue of cell "email"

set theAddressLine1 to cellValue of cell "Address Line 1"

set theAddressSuburb to cellValue of cell "Address Suburb"

set theAddressState to cellValue of cell "Address State"

set theAddressZip to cellValue of cell "Address Pcode"

set theNotes to cellValue of cell "Vehicle List"

end tell

end tell

tell application "Address Book"

set foo to make new person at the end of the people with properties {first name:TheFirstName, last name:theLastName, company:false, organization:""}

make new email at end of foo's emails with properties {label:"home", value:theEmail}

make new address at end of foo's addresses with properties {label:"home", street:theAddressLine1, zip:theAddressZip, state:theAddressState, city:theAddressSuburb}

make new phone at end of foo's phones with properties {label:"mobile", value:thePhoneMobile}

make new phone at end of foo's phones with properties {label:"work", value:thePhonework}

make new phone at end of foo's phones with properties {label:"home", value:thePhonehome}

set note of foo to theNotes

add foo to group "Triple C Customers"

save addressbook

end tell

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.