April 14, 201015 yr Hi, I am trying to export several images from several databases into a folder in a different Backup disk. I tried several scripts I found but none seems to work. Example: Go to Record/Request/Page [ First ] Loop Set Variable [ $filePath; Value:"filemac:" & Get ( DesktopPath ) & "/ExportedFolder/" & Table::SerialID & ".jpg" ] Export Field Contents [ Table::ImageField; “$filePath” ] Go to Record/Request/Page [ Next; Exit after last ] End Loop My problems: Unfortunately the various images are jpg. bmp. and so on so I need filemaker to recognize the image extension. I need to change the pictures name as in the db I have data in 2 different fields I'd like to use as a new filename for the backup. One data is the email which includes the "@". Is this a problem to give a name to a mac file? The other is just a serial number I added. I need to send the images to different folders. Can i ask File maker to create it, if is not there, or select it if I have it already? However based on the script above I changed the "& Get ( DesktopPath ) & "/ExportedFolder/" with: "& /Volumes/Backu/Pictures/Various/" but I always get the error telling me the file could not be created even after I created an ExportedFolder on the desktop and only used jpg images. I have a Power Mac with Snow 10.6.2 and I use FMP 10 Thanks you very much and please consider I am a new user Dan
April 15, 201015 yr but I always get the error telling me the file could not be created even after I created an ExportedFolder on the desktop The path should be /Users/username/......
May 27, 201015 yr Try removing the extra "/" from your path calculation and it should work. I just ran your script with this change and it worked for me. WRONG: "/ExportedFolder/" CORRECT: "ExportedFolder/"
Create an account or sign in to comment