I want to be able to delete a file wither PDF or JPG from a Folder is required. I have searched for Apple scripts on Google and FileMaker Community but there doesn’t seem to be anything that works. The folder is not on the desktop.
You need path for the file to delete, but not any field.
Export field contents always overwrite the file if exist at the path, then "without specifying field" does delete existing file but not create new file. This is a "known trick".
You don't need applescript. "Export Field Contents" without specifing field delete file.
The file is in a folder on the computer not in FileMaker so there is no field to export. Maybe I am wrong.
Thank you, nifty and clever. Works beautifully.
Retrieving data ...