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.

Featured Replies

I am getting a value from a plist file and I am trying to update the value of a field in a FileMaker Pro table. The script read the plist files correctly but the field does not get updated in the FileMaker Pro table.

Would anyone have an idea why set _EventNo to field  "EventNo" of table "Preferences"  does not work?

Many Thanks!

 

 

tell application "System Events"   

      tell property list file ("Volumes:NX5U:NX5U.plist")       

           tell contents             

                 set _EventNo to {value of property list item "EventNo"}         

           end tell     

       end tell

end tell

set _EventNo to field  "EventNo" of table "Preferences"  

Edited by DPaquin

You are setting the variable to the value of the field, not the field to the variable. Note also that "field" in AppleScript is not the same thing as "field" in Filemaker.

Assuming you only have one record in Preferences, try changing the last line to:

set field "EventNo" of table "Preferences" to _EventNo

 

 

Edited by comment

  • Author

Thanks Comment for the response, this is greatly appreciated.

It worked.

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.