PowerPhotos Help
AppleScript Object - window
A window. Represents an open window in PowerPhotos, providing access to its position, size, and state.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| name | text | r/o | The title of the window. |
| id | integer | r/o | The unique identifier of the window. |
| index | integer | r/w | The index of the window, ordered front to back. |
| bounds | rectangle | r/w | The bounding rectangle of the window. |
| closeable | boolean | r/o | Whether the window has a close button. |
| miniaturizable | boolean | r/o | Whether the window can be minimized. |
| miniaturized | boolean | r/w | Whether the window is currently minimized. |
| resizable | boolean | r/o | Whether the window can be resized. |
| visible | boolean | r/w | Whether the window is currently visible. |
| zoomable | boolean | r/o | Whether the window has a zoom button. |
| zoomed | boolean | r/w | Whether the window is currently zoomed. |
Example
tell application "PowerPhotos"
set allWindows to every window
repeat with w in allWindows
set windowName to name of w
set windowBounds to bounds of w
log "Window: " & windowName & " — bounds: " & windowBounds as text
end repeat
end tell