The Desktop
object has the following methods:
Method List
Name | Description |
---|---|
ActiveWindow
|
Returns the top-level window. |
FocusedWindow
|
Returns the focused window. |
KeyDown
|
Simulates the pressing of the specified key. |
Keys
|
Simulates one or several keypresses. |
KeyUp
|
Simulates the releasing of the specified key. |
MouseDown
|
Simulates the pressing of the specified mouse button. |
MouseUp
|
Simulates the releasing of the specified mouse button. |
ObjectFromPoint
|
Returns the onscreen object that contains the pixel with the specified screen coordinates. |
Picture
|
Returns the image of the specified screen area. |
WindowFromHandle
|
Returns a window by its handle. |