C# Class AuScGen.CommonUtilityPlugin.AutoITExtension

Inheritance: IContainerPlugin
Afficher le fichier Open project: geeksree/cSharpGeeks

Méthodes publiques

Méthode Description
AutoITExtension ( ) : System
AutoITExtension ( IntPtr windowHandle, int maxLen = 65535 ) : System
AutoITExtension ( string windowTitle, string text = "" ) : System
AutoItSetOption ( string option, int optionValue ) : int
ClipGet ( int maxLen = 1048576 ) : string
ClipPut ( string text ) : void
ControlClick ( string control = "", string button = "left", int numClicks = 1, int x = -2147483647, int y = -2147483647 ) : int
ControlClick ( string title, string text, string control, string button = "left", int numClicks = 1, int x = -2147483647, int y = -2147483647 ) : int
ControlCommand ( string command, string extra, int maxLen = 65535, string control = "" ) : string
ControlCommand ( string title, string text, string control, string command, string extra, int maxLen = 65535 ) : string
ControlDisable ( string control = "" ) : int
ControlDisable ( string title, string text, string control ) : int
ControlEnable ( string control = "" ) : int
ControlEnable ( string title, string text, string control ) : int
ControlFocus ( string control = "" ) : int
ControlFocus ( string title, string text, string control ) : int
ControlGetFocus ( IntPtr winHandle, int maxLen = 65535 ) : string
ControlGetFocus ( string title = "", string text = "", int maxLen = 65535 ) : string
ControlGetHandle ( string control = "" ) : IntPtr
ControlGetHandleAsText ( string title = "", string text = "", string control = "", int maxLen = 65535 ) : string
ControlGetPos ( IntPtr winHandle, string control = "" ) : Rectangle
ControlGetPos ( string title = "", string text = "", string control = "" ) : Rectangle
ControlGetText ( string control = "", int maxLen = 65535 ) : string
ControlGetText ( string title, string text, string control, int maxLen = 65535 ) : string
ControlHide ( string control = "" ) : int
ControlHide ( string title, string text, string control ) : int
ControlListView ( string command, string extra1, string extra2, string control = "", int maxLen = 65535 ) : string
ControlListView ( string title, string text, string control, string command, string extra1, string extra2, int maxLen = 65535 ) : string
ControlMove ( int x, int y, int width = -1, int height = -1, string control = "" ) : int
ControlMove ( string title, string text, string control, int x, int y, int width = -1, int height = -1 ) : int
ControlSend ( string sendText, int mode, string control = "" ) : int
ControlSend ( string title, string text, string control, string sendText, int mode ) : int
ControlSetText ( string controlText, string control = "" ) : int
ControlSetText ( string title, string text, string control, string controlText ) : int
ControlShow ( string control = "" ) : int
ControlShow ( string title, string text, string control ) : int
ControlTreeView ( string command, string extra1, string extra2, string control = "", int maxLen = 65535 ) : string
ControlTreeView ( string title, string text, string control, string command, string extra1, string extra2, int maxLen = 65535 ) : string
DriveMapAdd ( string device, string share, int flags, string user = "", string password = "" ) : string
DriveMapDel ( string device ) : int
DriveMapGet ( string device ) : string
ErrorCode ( ) : int
GetDialog ( string title, string text = "", int timeout = 5000 ) : AutoITExtension
GetWindowHandle ( string title = "", string text = "", int timeout = 10000 ) : IntPtr
Init ( ) : void
IsAdmin ( ) : int
MouseClick ( string button = "LEFT", int x = -2147483647, int y = -2147483647, int numClicks = 1, int speed = -1 ) : int
MouseClickDrag ( string button, int x1, int y1, int x2, int y2, int speed = -1 ) : int
MouseDown ( string button = "LEFT" ) : void
MouseGetCursor ( ) : int
MouseGetPos ( ) : Point
MouseMove ( int x, int y, int speed = -1 ) : int
MouseUp ( string button = "LEFT" ) : void
MouseWheel ( string direction, int numClicks ) : void
PixelChecksum ( Rectangle rect, int step = 1 ) : uint
PixelGetColor ( int x, int y ) : int
PixelSearch ( Rectangle rect, int color, int shade, int step = 1 ) : Point
ProcessClose ( string process ) : int
ProcessExists ( string process ) : int
ProcessSetPriority ( string process, int priority ) : int
ProcessWait ( string process, int timeout ) : int
ProcessWaitClose ( string process, int timeout ) : int
Run ( string program, string dir, int showFlag = 1 ) : int
RunAs ( string user, string domain, string password, int logonFlag, string program, string dir, int showFlag = 1 ) : int
RunAsWait ( string user, string domain, string password, int logonFlag, string program, string dir, int showFlag = 1 ) : int
RunWait ( string program, string dir, int showFlag = 1 ) : int
Send ( string sendText, int mode ) : void
Shutdown ( int flag ) : int
Sleep ( int milliseconds ) : void
StatusBarGetText ( int part = 1, int maxLen = 65535 ) : string
StatusBarGetText ( string title = "", string text = "", int part = 1, int maxLen = 65535 ) : string
ToolTip ( string tip, int x = -2147483647, int y = -2147483647 ) : void
WaitForWindow ( string title, int timeOut ) : bool
WinActivate ( ) : int
WinActivate ( string title = "", string text = "" ) : int
WinActive ( ) : int
WinActive ( string title = "", string text = "" ) : int
WinClose ( ) : int
WinClose ( string title = "", string text = "" ) : int
WinExists ( ) : int
WinExists ( string title = "", string text = "" ) : int
WinGetCaretPos ( ) : Point
WinGetClassList ( int maxLen = 65535 ) : string
WinGetClassList ( string title = "", string text = "", int maxLen = 65535 ) : string
WinGetClientSize ( ) : Rectangle
WinGetClientSize ( string title = "", string text = "" ) : Rectangle
WinGetHandle ( string title = "", string text = "" ) : IntPtr
WinGetHandleAsText ( string title = "", string text = "", int maxLen = 65535 ) : string
WinGetPos ( ) : Rectangle
WinGetPos ( string title = "", string text = "" ) : Rectangle
WinGetProcess ( int maxLen = 65535 ) : uint
WinGetProcess ( string title = "", string text = "", int maxLen = 65535 ) : uint
WinGetState ( ) : int
WinGetState ( string title = "", string text = "" ) : int
WinGetText ( int maxLen = 65535 ) : string
WinGetText ( string title = "", string text = "", int maxLen = 65535 ) : string
WinGetTitle ( IntPtr winHandle, int maxLen = 65535 ) : string
WinGetTitle ( string title = "", string text = "", int maxLen = 65535 ) : string
WinKill ( ) : int
WinKill ( string title = "", string text = "" ) : int
WinMinimizeAll ( ) : void
WinMinimizeAllUndo ( ) : void
WinMove ( int x, int y, int width = -1, int height = -1 ) : int
WinMove ( string title, string text, int x, int y, int width = -1, int height = -1 ) : int
WinSetOnTop ( int flag ) : int
WinSetOnTop ( string title, string text, int flag ) : int
WinSetState ( int flags ) : int
WinSetState ( string title, string text, int flags ) : int
WinSetTitle ( IntPtr winHandle, string newTitle ) : int
WinSetTitle ( string title, string text, string newTitle ) : int
WinSetTrans ( int trans ) : int
WinSetTrans ( string title, string text, int trans ) : int
WinWait ( int timeout ) : int
WinWait ( string title = "", string text = "", int timeout ) : int
WinWaitActive ( int timeout ) : int
WinWaitActive ( string title = "", string text = "", int timeout ) : int
WinWaitClose ( int timeout ) : int
WinWaitClose ( string title = "", string text = "", int timeout ) : int
WinWaitNotActive ( int timeout ) : int
WinWaitNotActive ( string title = "", string text = "", int timeout ) : int

Private Methods

Méthode Description
IsWinExists ( string title ) : bool

Method Details

AutoITExtension() public méthode

public AutoITExtension ( ) : System
Résultat System

AutoITExtension() public méthode

public AutoITExtension ( IntPtr windowHandle, int maxLen = 65535 ) : System
windowHandle System.IntPtr
maxLen int
Résultat System

AutoITExtension() public méthode

public AutoITExtension ( string windowTitle, string text = "" ) : System
windowTitle string
text string
Résultat System

AutoItSetOption() public méthode

public AutoItSetOption ( string option, int optionValue ) : int
option string
optionValue int
Résultat int

ClipGet() public méthode

public ClipGet ( int maxLen = 1048576 ) : string
maxLen int
Résultat string

ClipPut() public méthode

public ClipPut ( string text ) : void
text string
Résultat void

ControlClick() public méthode

public ControlClick ( string control = "", string button = "left", int numClicks = 1, int x = -2147483647, int y = -2147483647 ) : int
control string
button string
numClicks int
x int
y int
Résultat int

ControlClick() public méthode

public ControlClick ( string title, string text, string control, string button = "left", int numClicks = 1, int x = -2147483647, int y = -2147483647 ) : int
title string
text string
control string
button string
numClicks int
x int
y int
Résultat int

ControlCommand() public méthode

public ControlCommand ( string command, string extra, int maxLen = 65535, string control = "" ) : string
command string
extra string
maxLen int
control string
Résultat string

ControlCommand() public méthode

public ControlCommand ( string title, string text, string control, string command, string extra, int maxLen = 65535 ) : string
title string
text string
control string
command string
extra string
maxLen int
Résultat string

ControlDisable() public méthode

public ControlDisable ( string control = "" ) : int
control string
Résultat int

ControlDisable() public méthode

public ControlDisable ( string title, string text, string control ) : int
title string
text string
control string
Résultat int

ControlEnable() public méthode

public ControlEnable ( string control = "" ) : int
control string
Résultat int

ControlEnable() public méthode

public ControlEnable ( string title, string text, string control ) : int
title string
text string
control string
Résultat int

ControlFocus() public méthode

public ControlFocus ( string control = "" ) : int
control string
Résultat int

ControlFocus() public méthode

public ControlFocus ( string title, string text, string control ) : int
title string
text string
control string
Résultat int

ControlGetFocus() public méthode

public ControlGetFocus ( IntPtr winHandle, int maxLen = 65535 ) : string
winHandle System.IntPtr
maxLen int
Résultat string

ControlGetFocus() public méthode

public ControlGetFocus ( string title = "", string text = "", int maxLen = 65535 ) : string
title string
text string
maxLen int
Résultat string

ControlGetHandle() public méthode

public ControlGetHandle ( string control = "" ) : IntPtr
control string
Résultat System.IntPtr

ControlGetHandleAsText() public méthode

public ControlGetHandleAsText ( string title = "", string text = "", string control = "", int maxLen = 65535 ) : string
title string
text string
control string
maxLen int
Résultat string

ControlGetPos() public méthode

public ControlGetPos ( IntPtr winHandle, string control = "" ) : Rectangle
winHandle System.IntPtr
control string
Résultat System.Drawing.Rectangle

ControlGetPos() public méthode

public ControlGetPos ( string title = "", string text = "", string control = "" ) : Rectangle
title string
text string
control string
Résultat System.Drawing.Rectangle

ControlGetText() public méthode

public ControlGetText ( string control = "", int maxLen = 65535 ) : string
control string
maxLen int
Résultat string

ControlGetText() public méthode

public ControlGetText ( string title, string text, string control, int maxLen = 65535 ) : string
title string
text string
control string
maxLen int
Résultat string

ControlHide() public méthode

public ControlHide ( string control = "" ) : int
control string
Résultat int

ControlHide() public méthode

public ControlHide ( string title, string text, string control ) : int
title string
text string
control string
Résultat int

ControlListView() public méthode

public ControlListView ( string command, string extra1, string extra2, string control = "", int maxLen = 65535 ) : string
command string
extra1 string
extra2 string
control string
maxLen int
Résultat string

ControlListView() public méthode

public ControlListView ( string title, string text, string control, string command, string extra1, string extra2, int maxLen = 65535 ) : string
title string
text string
control string
command string
extra1 string
extra2 string
maxLen int
Résultat string

ControlMove() public méthode

public ControlMove ( int x, int y, int width = -1, int height = -1, string control = "" ) : int
x int
y int
width int
height int
control string
Résultat int

ControlMove() public méthode

public ControlMove ( string title, string text, string control, int x, int y, int width = -1, int height = -1 ) : int
title string
text string
control string
x int
y int
width int
height int
Résultat int

ControlSend() public méthode

public ControlSend ( string sendText, int mode, string control = "" ) : int
sendText string
mode int
control string
Résultat int

ControlSend() public méthode

public ControlSend ( string title, string text, string control, string sendText, int mode ) : int
title string
text string
control string
sendText string
mode int
Résultat int

ControlSetText() public méthode

public ControlSetText ( string controlText, string control = "" ) : int
controlText string
control string
Résultat int

ControlSetText() public méthode

public ControlSetText ( string title, string text, string control, string controlText ) : int
title string
text string
control string
controlText string
Résultat int

ControlShow() public méthode

public ControlShow ( string control = "" ) : int
control string
Résultat int

ControlShow() public méthode

public ControlShow ( string title, string text, string control ) : int
title string
text string
control string
Résultat int

ControlTreeView() public méthode

public ControlTreeView ( string command, string extra1, string extra2, string control = "", int maxLen = 65535 ) : string
command string
extra1 string
extra2 string
control string
maxLen int
Résultat string

ControlTreeView() public méthode

public ControlTreeView ( string title, string text, string control, string command, string extra1, string extra2, int maxLen = 65535 ) : string
title string
text string
control string
command string
extra1 string
extra2 string
maxLen int
Résultat string

DriveMapAdd() public méthode

public DriveMapAdd ( string device, string share, int flags, string user = "", string password = "" ) : string
device string
share string
flags int
user string
password string
Résultat string

DriveMapDel() public méthode

public DriveMapDel ( string device ) : int
device string
Résultat int

DriveMapGet() public méthode

public DriveMapGet ( string device ) : string
device string
Résultat string

ErrorCode() public méthode

public ErrorCode ( ) : int
Résultat int

GetDialog() public méthode

public GetDialog ( string title, string text = "", int timeout = 5000 ) : AutoITExtension
title string
text string
timeout int
Résultat AutoITExtension

GetWindowHandle() public méthode

public GetWindowHandle ( string title = "", string text = "", int timeout = 10000 ) : IntPtr
title string
text string
timeout int
Résultat System.IntPtr

Init() public méthode

public Init ( ) : void
Résultat void

IsAdmin() public méthode

public IsAdmin ( ) : int
Résultat int

MouseClick() public méthode

public MouseClick ( string button = "LEFT", int x = -2147483647, int y = -2147483647, int numClicks = 1, int speed = -1 ) : int
button string
x int
y int
numClicks int
speed int
Résultat int

MouseClickDrag() public méthode

public MouseClickDrag ( string button, int x1, int y1, int x2, int y2, int speed = -1 ) : int
button string
x1 int
y1 int
x2 int
y2 int
speed int
Résultat int

MouseDown() public méthode

public MouseDown ( string button = "LEFT" ) : void
button string
Résultat void

MouseGetCursor() public méthode

public MouseGetCursor ( ) : int
Résultat int

MouseGetPos() public méthode

public MouseGetPos ( ) : Point
Résultat Point

MouseMove() public méthode

public MouseMove ( int x, int y, int speed = -1 ) : int
x int
y int
speed int
Résultat int

MouseUp() public méthode

public MouseUp ( string button = "LEFT" ) : void
button string
Résultat void

MouseWheel() public méthode

public MouseWheel ( string direction, int numClicks ) : void
direction string
numClicks int
Résultat void

PixelChecksum() public méthode

public PixelChecksum ( Rectangle rect, int step = 1 ) : uint
rect System.Drawing.Rectangle
step int
Résultat uint

PixelGetColor() public méthode

public PixelGetColor ( int x, int y ) : int
x int
y int
Résultat int

PixelSearch() public méthode

public PixelSearch ( Rectangle rect, int color, int shade, int step = 1 ) : Point
rect System.Drawing.Rectangle
color int
shade int
step int
Résultat Point

ProcessClose() public méthode

public ProcessClose ( string process ) : int
process string
Résultat int

ProcessExists() public méthode

public ProcessExists ( string process ) : int
process string
Résultat int

ProcessSetPriority() public méthode

public ProcessSetPriority ( string process, int priority ) : int
process string
priority int
Résultat int

ProcessWait() public méthode

public ProcessWait ( string process, int timeout ) : int
process string
timeout int
Résultat int

ProcessWaitClose() public méthode

public ProcessWaitClose ( string process, int timeout ) : int
process string
timeout int
Résultat int

Run() public méthode

public Run ( string program, string dir, int showFlag = 1 ) : int
program string
dir string
showFlag int
Résultat int

RunAs() public méthode

public RunAs ( string user, string domain, string password, int logonFlag, string program, string dir, int showFlag = 1 ) : int
user string
domain string
password string
logonFlag int
program string
dir string
showFlag int
Résultat int

RunAsWait() public méthode

public RunAsWait ( string user, string domain, string password, int logonFlag, string program, string dir, int showFlag = 1 ) : int
user string
domain string
password string
logonFlag int
program string
dir string
showFlag int
Résultat int

RunWait() public méthode

public RunWait ( string program, string dir, int showFlag = 1 ) : int
program string
dir string
showFlag int
Résultat int

Send() public méthode

public Send ( string sendText, int mode ) : void
sendText string
mode int
Résultat void

Shutdown() public méthode

public Shutdown ( int flag ) : int
flag int
Résultat int

Sleep() public méthode

public Sleep ( int milliseconds ) : void
milliseconds int
Résultat void

StatusBarGetText() public méthode

public StatusBarGetText ( int part = 1, int maxLen = 65535 ) : string
part int
maxLen int
Résultat string

StatusBarGetText() public méthode

public StatusBarGetText ( string title = "", string text = "", int part = 1, int maxLen = 65535 ) : string
title string
text string
part int
maxLen int
Résultat string

ToolTip() public méthode

public ToolTip ( string tip, int x = -2147483647, int y = -2147483647 ) : void
tip string
x int
y int
Résultat void

WaitForWindow() public méthode

public WaitForWindow ( string title, int timeOut ) : bool
title string
timeOut int
Résultat bool

WinActivate() public méthode

public WinActivate ( ) : int
Résultat int

WinActivate() public méthode

public WinActivate ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinActive() public méthode

public WinActive ( ) : int
Résultat int

WinActive() public méthode

public WinActive ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinClose() public méthode

public WinClose ( ) : int
Résultat int

WinClose() public méthode

public WinClose ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinExists() public méthode

public WinExists ( ) : int
Résultat int

WinExists() public méthode

public WinExists ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinGetCaretPos() public méthode

public WinGetCaretPos ( ) : Point
Résultat Point

WinGetClassList() public méthode

public WinGetClassList ( int maxLen = 65535 ) : string
maxLen int
Résultat string

WinGetClassList() public méthode

public WinGetClassList ( string title = "", string text = "", int maxLen = 65535 ) : string
title string
text string
maxLen int
Résultat string

WinGetClientSize() public méthode

public WinGetClientSize ( ) : Rectangle
Résultat System.Drawing.Rectangle

WinGetClientSize() public méthode

public WinGetClientSize ( string title = "", string text = "" ) : Rectangle
title string
text string
Résultat System.Drawing.Rectangle

WinGetHandle() public méthode

public WinGetHandle ( string title = "", string text = "" ) : IntPtr
title string
text string
Résultat System.IntPtr

WinGetHandleAsText() public méthode

public WinGetHandleAsText ( string title = "", string text = "", int maxLen = 65535 ) : string
title string
text string
maxLen int
Résultat string

WinGetPos() public méthode

public WinGetPos ( ) : Rectangle
Résultat System.Drawing.Rectangle

WinGetPos() public méthode

public WinGetPos ( string title = "", string text = "" ) : Rectangle
title string
text string
Résultat System.Drawing.Rectangle

WinGetProcess() public méthode

public WinGetProcess ( int maxLen = 65535 ) : uint
maxLen int
Résultat uint

WinGetProcess() public méthode

public WinGetProcess ( string title = "", string text = "", int maxLen = 65535 ) : uint
title string
text string
maxLen int
Résultat uint

WinGetState() public méthode

public WinGetState ( ) : int
Résultat int

WinGetState() public méthode

public WinGetState ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinGetText() public méthode

public WinGetText ( int maxLen = 65535 ) : string
maxLen int
Résultat string

WinGetText() public méthode

public WinGetText ( string title = "", string text = "", int maxLen = 65535 ) : string
title string
text string
maxLen int
Résultat string

WinGetTitle() public méthode

public WinGetTitle ( IntPtr winHandle, int maxLen = 65535 ) : string
winHandle System.IntPtr
maxLen int
Résultat string

WinGetTitle() public méthode

public WinGetTitle ( string title = "", string text = "", int maxLen = 65535 ) : string
title string
text string
maxLen int
Résultat string

WinKill() public méthode

public WinKill ( ) : int
Résultat int

WinKill() public méthode

public WinKill ( string title = "", string text = "" ) : int
title string
text string
Résultat int

WinMinimizeAll() public méthode

public WinMinimizeAll ( ) : void
Résultat void

WinMinimizeAllUndo() public méthode

public WinMinimizeAllUndo ( ) : void
Résultat void

WinMove() public méthode

public WinMove ( int x, int y, int width = -1, int height = -1 ) : int
x int
y int
width int
height int
Résultat int

WinMove() public méthode

public WinMove ( string title, string text, int x, int y, int width = -1, int height = -1 ) : int
title string
text string
x int
y int
width int
height int
Résultat int

WinSetOnTop() public méthode

public WinSetOnTop ( int flag ) : int
flag int
Résultat int

WinSetOnTop() public méthode

public WinSetOnTop ( string title, string text, int flag ) : int
title string
text string
flag int
Résultat int

WinSetState() public méthode

public WinSetState ( int flags ) : int
flags int
Résultat int

WinSetState() public méthode

public WinSetState ( string title, string text, int flags ) : int
title string
text string
flags int
Résultat int

WinSetTitle() public méthode

public WinSetTitle ( IntPtr winHandle, string newTitle ) : int
winHandle System.IntPtr
newTitle string
Résultat int

WinSetTitle() public méthode

public WinSetTitle ( string title, string text, string newTitle ) : int
title string
text string
newTitle string
Résultat int

WinSetTrans() public méthode

public WinSetTrans ( int trans ) : int
trans int
Résultat int

WinSetTrans() public méthode

public WinSetTrans ( string title, string text, int trans ) : int
title string
text string
trans int
Résultat int

WinWait() public méthode

public WinWait ( int timeout ) : int
timeout int
Résultat int

WinWait() public méthode

public WinWait ( string title = "", string text = "", int timeout ) : int
title string
text string
timeout int
Résultat int

WinWaitActive() public méthode

public WinWaitActive ( int timeout ) : int
timeout int
Résultat int

WinWaitActive() public méthode

public WinWaitActive ( string title = "", string text = "", int timeout ) : int
title string
text string
timeout int
Résultat int

WinWaitClose() public méthode

public WinWaitClose ( int timeout ) : int
timeout int
Résultat int

WinWaitClose() public méthode

public WinWaitClose ( string title = "", string text = "", int timeout ) : int
title string
text string
timeout int
Résultat int

WinWaitNotActive() public méthode

public WinWaitNotActive ( int timeout ) : int
timeout int
Résultat int

WinWaitNotActive() public méthode

public WinWaitNotActive ( string title = "", string text = "", int timeout ) : int
title string
text string
timeout int
Résultat int