Retrieve Data
Example 1: Get the currently selected file in the application
let selected = await eagle.item.getSelected(); console.log(selected);Example 2: Get files by specified conditions
let items = await eagle.item.get({ ids: [], isSelected: true, isUnfiled: true, isUntagged: true, keywords: [""], ext: "", tags: [], folders: [], shape: "square", rating: 5, annotation: "", url: "" });Example 3: Get the currently selected folder in the application
Last updated