Ok, bare with me, as I am just starting out with the scripts. I noticed an action "extract image/file" so thought I would be able to write a script to extract all my images to a folder somewhere when I press a button.
I attached the following script to a button:
[$testvariable] = Records from Folder("Testfolder", "No limitation")
For Each Record From [$testvariable]
Extract Image/File (Testform Details: testimage, [$_myfiles])
This doesn't actually do much, the dialogue box opens up allowing me to select records from the Testfolder but nothing ultimately happens. Presumably I am missing a step here?
EDIT: Mind you it could be the same problem whereby export to CSV files is not picking up the image fields. I created a new database from scratch today. It has four records each with two images. I do a csv export selecting all the fields but the csv file is not populated with the image location (out\filename). That column is empty. And no folder of images is created. Export to web page is the same, images don't show. This is the html for that part of the page:
For my project each record has two unique images and no record will have the same image. I need to be able to export them in various formats. BD won't be of much use to me if once the images are in there is no way of getting them out. I'm sure this worked in 9.42.
Ideally I need end users to be able to scan directly into the record rather than scanning and saving a file then adding the file to an image field - it's extra steps that I don't want the user to have to be bothered with.
Just a quick responce. I think you might need path and file name for each image extracted, that is path variable and unique file name variable for each step. Not really used this function.
Did a test and seemed to work ok exporting each image to a separate file on drive c:, in fact really do not need variable for file name - I used a field name and some common text as part of file name. Ie Extract Image/File (Photo: Photo, C:\my_photo[Notes].gif)