Mac platform, V 11
I wish to view PDF documents stored on my computer by accessing from a field in a FileMaker database.
To do so I wish to write a script that will use a reference stored in a field in each record.
Suppose the field is called "PDF reference": and has the values "target1.pdf", "target2.pdf", etc
The following script will open the document "target.pdf"
Send Event ["Adobe Reader"; "aevt"; "odoc"; "target.pdf"]
but what I need is a script that will open the PDF document named in each field (eg target1.pdf, target2.pdf etc) , something like:
Send Event ["Adobe Reader"; "aevt"; "odoc"; <PDF reference>]
I am sure it can be done, but I cannot find the exact syntax required. Can anyone help please?