did you try within FileMaker to embed it within
tell application finder
This is a well known gotcha, not a FileMaker problem. When you run your Applescript from within FileMaker it is equivalent to saying
tell application "FileMaker Pro"
If you wrap your applescript code with the Tell Application "FileMaker Pro" script steps and run it in the Applescript editor you'll see the same error.
You can avoid the problem by explicitly targeting the application you want to handle the read and clipboard commands.
Tell application "System Events"
ph: +64 221 694 914
TY to FileKraft and Malcom for the help.
it would be much simpler if the Malcom's explanation had been put in the manual