I am trying to write an AppleScript to delete or at least disable certain menu items in FileMaker pro 6. My documentation indicates that it can be done, yet even the exact examples that they give, do not work.
Here are a few examples of some that I tried with their results:
delete menu item "Delete All Records…" of menu "Records" --this compiles, but returns the error 'Event not handled'
disable menu item "Delete All Records…" of menu "Records" --This does not even compile
I also tried similar approaches with System Events to no avail.
Any help on this would be greatly appreciated as I need to prevent users from deleting critical records from a database.