I'm working on a Script to export images from a container all at once and i got most of my framework from the
"Exporting the field contents of a container field" page Exporting the field contents of a container field | FileMaker
The problem I'm running into is that the script appears to be running but i cannot find the files that its exporting because it doesn't actually appear to be saving the files to any specific location. I have checked the desktop and documents folders and I have found nothing. Here is the script that I am running with the following values
Inventory::EquipmentRecordID == description
Inventory::Image | Container Main
Go to Record/Request/Page [First]
Set Variable [$filePath; Value:
Choose ( Abs ( Get ( SystemPlatform ) ) -1 ;
/*MAC OS X*/
Get ( DesktopPath ) & Inventory::EquipmentRecordID & ".jpg"
"filewin:"& Get ( DocumentsPath ) & Inventory::EquipmentRecordID & ".jpg"
Export Field Contents [Inventory::Image | Container Main; " $filepath”]
Go to Record/Request/Page [Next; Exit after last]
I don't understand what the $filepath is doing I believe its a placeholder for my actual filepath but whenever I attempt to enter in a filepath location like filewin:/C:/users/... etc. it returns errors that it contains unusable symbols