In the Dictionary inspector in SD looking at Photos dictionary entry for the class Media Item under Where Used is said;
element of the Moment class .
Where can I inspect the Moment class?
Thanks.
moment (noun) A set of media items that represents a Moment.
id: The unique ID of the Moment.
name: The name of the Moment.
Element: media item
The media items contained in this Moment
The moment class is used as element of application class
--untested with actual moments, but this could give you a start
tell application "Photos"
set allMyMoments to every moment
set momentContents to media items of moment 1
end tell
1 Like