Desktop Window
15 nodes
On this page 15
Make Desktop Window
FunctionA window somewhere on the desktop, and which process owns it.
DesktopWindow -> Desktop Window
Handle: IntPtr
Title: Text
ProcessId: Integer
ProcessName: Text
Bounds: Screen Rectangle
DisplayState: Window Display StateDesktopWindow DesktopWindow(
nint Handle,
string Title,
int ProcessId,
string ProcessName,
ScreenRectangle Bounds,
WindowDisplayState DisplayState)Parameters
| name | type | default | description |
|---|---|---|---|
| Handle | IntPtr | — | The platform's identifier: an HWND on Windows, an X11 window id, a CGWindowID. |
| Title | Text | — | The window's title bar text. Empty where the platform will not report it. |
| ProcessId | Integer | — | The owning process, or 0 where unknown. |
| ProcessName | Text | — | The owning process's name without extension, or empty where unknown. |
| Bounds | Screen Rectangle | — | Where it sits, in virtual-desktop coordinates. A window's bounds are not where it will reappear: Windows parks one at (-32000, -32000) with the size of its title bar, which is what enumeration observes and reports. Restore it first if the bounds matter. |
| DisplayState | Window Display State | — | Minimised, maximised or ordinary. |
Returns
| result | Desktop Window |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Deconstruct
FunctionThis node carries no documentation.
Deconstruct(Desktop Window: Desktop Window) -> (Handle: IntPtr, Title: Text, ProcessId: Integer, ProcessName: Text, Bounds: Screen Rectangle, DisplayState: Window Display State)
void Deconstruct(
DesktopWindow Desktop Window,
out nint Handle,
out string Title,
out int ProcessId,
out string ProcessName,
out ScreenRectangle Bounds,
out WindowDisplayState DisplayState)Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| Handle | IntPtr |
| Title | Text |
| ProcessId | Integer |
| ProcessName | Text |
| Bounds | Screen Rectangle |
| DisplayState | Window Display State |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Equals
FunctionThis node carries no documentation.
Overload 1 of 2
Equals(Desktop Window: Desktop Window, obj: Any) -> Truth
bool Equals(DesktopWindow Desktop Window, object obj)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — | |
| obj | Any | — |
Returns
| result | Truth |
Overload 2 of 2
Equals -> Truth
Desktop Window: Desktop Window
other: Desktop Windowbool Equals(DesktopWindow Desktop Window, DesktopWindow other)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — | |
| other | Desktop Window | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Bounds
FunctionWhere it sits, in virtual-desktop coordinates. A window's bounds are not where it
will reappear: Windows parks one at (-32000, -32000) with the size of its title bar, which is what
enumeration observes and reports. Restore it first if the bounds matter.
Bounds(Desktop Window: Desktop Window) -> Screen Rectangle
ScreenRectangle Bounds(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Screen Rectangle |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Display State
FunctionMinimised, maximised or ordinary.
DisplayState(Desktop Window: Desktop Window) -> Window Display State
WindowDisplayState DisplayState(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Window Display State |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Exists
FunctionFalse for DesktopWindow.None. A caller checks this rather than comparing handles to zero.
Exists(Desktop Window: Desktop Window) -> Truth
bool Exists(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Handle
FunctionThe platform's identifier: an HWND on Windows, an X11 window id, a CGWindowID.
Handle(Desktop Window: Desktop Window) -> IntPtr
nint Handle(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | IntPtr |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Process Id
FunctionThe owning process, or 0 where unknown.
ProcessId(Desktop Window: Desktop Window) -> Integer
int ProcessId(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Process Name
FunctionThe owning process's name without extension, or empty where unknown.
ProcessName(Desktop Window: Desktop Window) -> Text
string ProcessName(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Title
FunctionThe window's title bar text. Empty where the platform will not report it.
Title(Desktop Window: Desktop Window) -> Text
string Title(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Get Hash Code
FunctionThis node carries no documentation.
GetHashCode(Desktop Window: Desktop Window) -> Integer
int GetHashCode(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
To String
FunctionReads as a window rather than as a record's field list, for a log line or a status bar.
ToString(Desktop Window: Desktop Window) -> Text
string ToString(DesktopWindow Desktop Window)
Parameters
| name | type | default | description |
|---|---|---|---|
| Desktop Window | Desktop Window | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
None
FunctionNo window: what "nothing is in front" and "nothing matched" both report.
None() -> Desktop Window
DesktopWindow None()
Returns
| result | Desktop Window |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Op Equality
FunctionThis node carries no documentation.
op_Equality -> Truth
left: Desktop Window
right: Desktop Windowbool op_Equality(DesktopWindow left, DesktopWindow right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | Desktop Window | — | |
| right | Desktop Window | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation
Op Inequality
FunctionThis node carries no documentation.
op_Inequality -> Truth
left: Desktop Window
right: Desktop Windowbool op_Inequality(DesktopWindow left, DesktopWindow right)
Parameters
| name | type | default | description |
|---|---|---|---|
| left | Desktop Window | — | |
| right | Desktop Window | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Desktop Window
- Package
- Desktop Automation