PowerPhotos Help
AppleScript Command - import
Import files and folders into a library or album.
Syntax
import <files> into <library or album>
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| direct parameter | list of file | yes | One or more files or folders to import. |
| into | library or album | yes | The destination library or album. |
Result
None.
Example
tell application "PowerPhotos"
set theLibrary to first library whose name is "Main Library"
set imageFolder to POSIX file "/Users/me/Desktop/New Photos"
import {imageFolder} into theLibrary
end tell