Fat Cat Software

PowerPhotos Help

AppleScript Command - delete

Delete an object. Deleting a library removes it from PowerPhotos but does not delete it from disk. Deleting a library group also deletes all libraries it contains. Deleting photos moves them to the library’s Recently Deleted album.

Syntax

delete <specifier>

Parameters

Parameter Type Required Description
direct parameter specifier yes The object(s) to delete.

Result

None.

Example

tell application "PowerPhotos"
	set theLibrary to first library
	delete (first album of theLibrary whose name is "Old Vacation")
end tell