PowerPhotos Help
AppleScript Command - remove
Syntax
remove <photos> from <album>
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| direct parameter | list of photo | yes | The photos to remove. |
| from | album | yes | The album to remove photos from. |
Result
None.
Example
tell application "PowerPhotos"
set theLibrary to first library whose name is "Main Library"
set theAlbum to first album of theLibrary whose name is "Tagged Photos"
-- Remove photos that have no keywords
set untaggedPhotos to (every photo of theAlbum whose keywords is {})
remove untaggedPhotos from theAlbum
end tell