> For the complete documentation index, see [llms.txt](https://docs.albumfiler.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.albumfiler.com/shortcuts/get-selected-media-items.md).

# Get Selected Media Items

Get the currently selected media items in Photos. Each media items can contain the following information:

* **Media Item ID**: The unique ID for the media item.
* **Favorite**: If the favorite flag has been assigned to the media item.
* **Filename**: The filename of the media item on disk.
* **Width**: The width in pixels of the media item.
* **Height**: The height in pixels of the media item.
* **Altitude**: If available, the altitude at which the media item was captured.
* **Notes**: The caption assigned to the media item.
* **Keywords**: A list of keywords assigned to the media item.
* **Location**: If available, the latitude and longitude at which the media item was captured.
* **Title**: The title for the media item.

| Parameters | Description |
| ---------- | ----------- |
| None       |             |

| Returns    | Description                                 |
| ---------- | ------------------------------------------- |
| Media Item | Details of the media item are listed above. |
