Méthode | Description | |
---|---|---|
CreateScreenshot ( ) : |
||
GetCursorPosition ( ) : Point | ||
IsMouseLeftDown ( ) : bool | ||
IsMouseLeftUp ( ) : bool | ||
Logon ( ) : void | ||
Logon2 ( ) : void | ||
ManagedSendKeys ( string keys ) : void |
simulates a keypress, see http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys(VS.71).aspx no winapi but this works just fine for me
|
|
ManagedSendKeys ( string keys, |
sends a keystring to a window
|
|
ManagedSendKeys ( string keys, string windowName ) : void |
checks if the correct window is active, then send keypress
|
|
MouseLeftClick ( ) : void | ||
MouseLeftDown ( ) : void | ||
MouseLeftUp ( ) : void | ||
MouseMiddleClick ( ) : void | ||
MouseMove ( int x, int y ) : void | ||
MouseRightClick ( ) : void | ||
ScrollHorizontally ( int units ) : void | ||
ScrollVertically ( int units ) : void | ||
SendKeyboardEvent ( Keys key, int delay ) : void |
sends a key to a window, pressing the button for x seconds
|
|
SendKeyboardEventDown ( VirtualKey key ) : void | ||
SendKeyboardEventUp ( VirtualKey key ) : void | ||
WindowActivate ( |
||
WindowActivate ( string windowName ) : void | ||
WindowActive ( |
||
WindowActive ( string windowName ) : bool | ||
WindowMove ( int x, int y, string windowName ) : void | ||
WindowMove ( int x, int y, string windowName, int width, int height ) : void |
Méthode | Description | |
---|---|---|
BitBlt ( |
||
CreateCompatibleBitmap ( |
||
CreateCompatibleDC ( |
||
DeleteDC ( |
||
DeleteObject ( |
||
DuplicateToken ( |
||
FindWindow ( string lpClassName, string lpWindowName ) : |
||
FindWindowEx ( |
||
GetCursorPos ( POINT &lpPoint ) : bool | ||
GetDesktopWindow ( ) : |
||
GetForegroundWindow ( ) : |
||
GetKeyState ( VirtualKey nVirtKey ) : short | ||
GetWindowDC ( |
||
GetWindowRect ( |
||
LockWorkStation ( ) : void | ||
LogonUser ( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, |
||
MoveWindow ( |
||
ReleaseDC ( |
||
SelectObject ( |
||
SendMessage ( |
||
SetCursorPos ( int x, int y ) : int | ||
SetForegroundWindow ( |
||
keybd_event ( byte bVk, byte bScan, uint dwFlags, |
||
mouse_event ( uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo ) : void |
public static CreateScreenshot ( ) : |
||
Résultat |
public static GetCursorPosition ( ) : Point | ||
Résultat | Point |
public static ManagedSendKeys ( string keys ) : void | ||
keys | string | the keys to press |
Résultat | void |
public static ManagedSendKeys ( string keys, |
||
keys | string | |
handle | ||
Résultat | void |
public static ManagedSendKeys ( string keys, string windowName ) : void | ||
keys | string | keys to press |
windowName | string | window to send the keys to |
Résultat | void |
public static MouseMove ( int x, int y ) : void | ||
x | int | |
y | int | |
Résultat | void |
public static ScrollHorizontally ( int units ) : void | ||
units | int | |
Résultat | void |
public static ScrollVertically ( int units ) : void | ||
units | int | |
Résultat | void |
public static SendKeyboardEvent ( Keys key, int delay ) : void | ||
key | Keys | |
delay | int | |
Résultat | void |
public static SendKeyboardEventDown ( VirtualKey key ) : void | ||
key | VirtualKey | |
Résultat | void |
public static SendKeyboardEventUp ( VirtualKey key ) : void | ||
key | VirtualKey | |
Résultat | void |
public static WindowActivate ( |
||
handle | ||
Résultat | void |
public static WindowActivate ( string windowName ) : void | ||
windowName | string | |
Résultat | void |
public static WindowActive ( |
||
myHandle | ||
Résultat | bool |
public static WindowActive ( string windowName ) : bool | ||
windowName | string | |
Résultat | bool |
public static WindowMove ( int x, int y, string windowName ) : void | ||
x | int | |
y | int | |
windowName | string | |
Résultat | void |
public static WindowMove ( int x, int y, string windowName, int width, int height ) : void | ||
x | int | |
y | int | |
windowName | string | |
width | int | |
height | int | |
Résultat | void |