Brian Dunning's FileMaker Custom Functions

AS_Photos_Export ( Export_Path ; options ; Album_Name )

export picture items from Photos.app to specified folder (macOS only)

  Average rating: 3.3 (7 votes) Log in to vote

Thomas Siebert   Thomas Siebert - Show more from this author
http://www.t-seabird.de

Share on Facebook Share on Twitter

  Sample input:
AS_Photos_Export ( Get ( DesktopPath ) & "Photos Export/" ; 1 ; "" )
  Sample output:
Exporting selected pictures to the specified folder.

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Export Pictures from Photos.app to a folder on your harddisk

Options:
1 = selected images
2 = album name
3 = "last import" album
4 = "favorites" album


U shall use a standard POSIX path or a common FileMaker paths like:
"filemac:" & Get ( DesktopPath ) & "Foldername/"

The script removes prefixes like "filemac:" or the name of the start volume like "/Macintosh HD/" automatically.

Use the ScriptStep "Perform AppleScript" using the option "Calculated AppleScript"
You also shall use "Perform AppleScript" directly from a button.

 

Comments

Alex Köhler   Alex Köhler, Düsseldorf
Apr 20, 2017
Dear Thomas!

Thank you very much! It works very good!
Have a nice Day!

Cheers
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: