Well, first you should not care about those files and be happy they are there as they can be used for previews.
On the other side, you can delete the files or remove the parts from container via MBS Plugin.
I am definitely happy with having previews, but didn't consider it worth the cost of approx. 3 times the storage space. I did find that by using the script step "insert file" and using "reference", it will display the first page of PDF without creating the additional files. The only downside to using this method is letting go of FileMaker automatically storing the files in a specific directory based on field values.
So I can script the insert and accept the additional storage space required.
Or, do a bit of pre-work (file naming) and manual file organization, and only script part of the insert process, without the cost of the additional space.
I wish I could have them both. The later has a higher probability of error, so I'll stick to the prior.
Thanks for the info!
Right click container 'Insert file' works the same as the script command 'Insert file' . I have selected display 'Icon with filename' and I have also tested with display 'Content of file(when possible)' under dialog options and no extra files are created. Storage option under dialog options is set to Insert.
Yes, right-clicking on the container field and choosing 'Insert File' produces the same result as using the menu bar selecting insert, and then file. But it only does the same thing if 'Icon and Filename' is selected.
If 'display content' is chosen the script command will insert the file, and display the first page, AND create the JPG and PDF, which are included in which ever directory you've chosen (External, Secure, etc.).
But running this test did help me figure this out, so thanks!