I think you'd be better off using export records instead of export field contents. Export records will allow you to export from the entire found set instead of having to loop through the records and export over and over again as you would with export field contents.
Yes you can suppress the confirmation dialog.
Will that allow exporting of the container fields? Maybe I should explain; We have a certain amount of images that generated per student and need to narrow them down. Using a checkbox, an image is singled out, then using a find, we can see the list of students and the chosen image. I know if I click on the container field and do an Export field contents it exports the actual image.jpg. With a list of thousands of images, manually pulling the images that where chosen would be tedious, but using the found set, a batch could export just the image.jpg that are needed. I can't seem to find how to pull the image from the Export records as it just creates a txt file. Any ideas?
Set Variable [ $file; GetAsText ( YourContainerField ) ]
Set Variable [ $path;Choose ( Abs ( Get (SystemPlatform ) ) - 1; "filemac"; "filewin:" ) & Get ( DesktopPath ) & $file ]
Export Field Contents [ YourContainerField; $path ]
Go to Record [ Next; Exit After Last ]
Sorry didnt see the 2 posts as I got stuck on a call in the middle of typing my post...
Thanks all, it worked. I used a combination of what 'comment' posted and mr_vodka's.
- Set Variable [ $file; Value:GetAsText ( IMAGES::IMAGE1) ]
- Export Field Contents [ IMAGES::IMAGEDISPLAYX; “filewin:/C:/Exportfolder/$file” ]
- Go to Record/Request/Page[ Next; Exit after last ]
- End Loop