it2 window get-property
Get a window property
Synopsis
it2 window get-property <window-id> <property>
Description
Get a window property. Available properties:
- frame: Window position and size {origin: {x, y}, size: {width, height}}
- fullscreen: Whether window is fullscreen (true/false)
Options inherited from parent commands
-
--format(default "text") - Output format (text, json, yaml) - affects how command results are displayed
-
--timeout - Timeout for API operations - how long to wait for iTerm2 to respond
-
--url - WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2
See Also
- it2 window - Manage iTerm2 windows or navigate to window context
- it2 window clear-title - Clear the title of a window
- it2 window close - Close a window
- it2 window create - Create a new window
- it2 window current - Show the current window ID
- it2 window focus - Focus/activate a window
- it2 window get-title - Get the title of a window
- it2 window list - List all iTerm2 windows
- it2 window set-property - Set a window property
- it2 window set-title - Set the title of a window
- it2 window tree - Show split tree structure for a window