Documentation ¶
Index ¶
- type Opsoft
- func (com *Opsoft) AStarFindPath(mapWidth, mapHeight int, disable_points string, beginX, beginY, endX, endY int) int
- func (com *Opsoft) BindWindow(hwnd int, display string, mouse string, keypad string, mode int) int
- func (com *Opsoft) Capture(x1, y1, x2, y2 int, file string) int
- func (com *Opsoft) CapturePre(file string) int
- func (com *Opsoft) ClientToScreen(hwnd int, x, y *int) int
- func (com *Opsoft) CmpColor(x int, y int, color string, sim float32) int
- func (com *Opsoft) EnableDisplayDebug(enableDebug int) int
- func (com *Opsoft) EnableGetColorByCapture(enable int) int
- func (com *Opsoft) EnablePicCache(enable int) int
- func (com *Opsoft) EnumProcess(name string) string
- func (com *Opsoft) EnumWindow(parent int, title, className string, filter int) string
- func (com *Opsoft) EnumWindowByProcessId(pid int, title, className string, filter int) string
- func (com *Opsoft) EnumWindowSuper(spec1 string, flag1, type1 int, spec2 string, flag2, type2, sort int) string
- func (com *Opsoft) FindColor(x1, y1, x2, y2 int, color string, sim float32, dir int, intX *int, intY *int) int
- func (com *Opsoft) FindColorEx(x1, y1, x2, y2 int, color string, sim float32, dir int) string
- func (com *Opsoft) FindMultiColor(x1, y1, x2, y2 int, firstColor string, offsetColor string, sim float32, ...) int
- func (com *Opsoft) FindMultiColorEx(x1, y1, x2, y2 int, firstColor string, offsetColor string, sim float32, ...) string
- func (com *Opsoft) FindPic(x1, y1, x2, y2 int, picName string, deltaColor string, sim float32, dir int, ...) int
- func (com *Opsoft) FindPicEx(x1, y1, x2, y2 int, picName string, deltaColor string, sim float32, dir int) string
- func (com *Opsoft) FindStr(x1, y1, x2, y2 int, str string, colorFormat string, sim float32, intX *int, ...) int
- func (com *Opsoft) FindStrEx(x1, y1, x2, y2 int, str, colorFormat string, sim float32) string
- func (com *Opsoft) FindWindow(class, title string) int
- func (com *Opsoft) FindWindowByProcess(processName, class, title string) int
- func (com *Opsoft) FindWindowByProcessId(processId int, class, title string) int
- func (com *Opsoft) FindWindowEx(parent int, class, title string) int
- func (com *Opsoft) FindWindowSuper(spec1 string, flag1, type1 int, spec2 string, flag2, type2 int) int
- func (com *Opsoft) GetBasePath() string
- func (com *Opsoft) GetClientRect(hwnd int, x1, y1, x2, y2 *int) int
- func (com *Opsoft) GetClientSize(hwnd int, width, height *int) int
- func (com *Opsoft) GetCmdStr(path string, time int) string
- func (com *Opsoft) GetCursorPos(x, y *int) int
- func (com *Opsoft) GetForegroundFocus() int
- func (com *Opsoft) GetForegroundWindow() int
- func (com *Opsoft) GetID() int
- func (com *Opsoft) GetKeyState(vkCode int) int
- func (com *Opsoft) GetLastError() int
- func (com *Opsoft) GetMousePointWindow() int
- func (com *Opsoft) GetPath() string
- func (com *Opsoft) GetPointWindow(x, y int) int
- func (com *Opsoft) GetProcessInfo(pid int) string
- func (com *Opsoft) GetScreenData(x1, y1, x2, y2 int) int
- func (com *Opsoft) GetScreenDataBmp(x1, y1, x2, y2 int, data, size *int) int
- func (com *Opsoft) GetSpecialWindow(flag int) int
- func (com *Opsoft) GetWindowClass(hwnd int) string
- func (com *Opsoft) GetWindowProcessId(hwnd int) int
- func (com *Opsoft) GetWindowProcessPath(hwnd int) string
- func (com *Opsoft) GetWindowRect(hwnd int, x1, y1, x2, y2 *int) int
- func (com *Opsoft) GetWindowState(hwnd, flag int) int
- func (com *Opsoft) GetWindowTitle(hwnd int) string
- func (com *Opsoft) KeyDown(vkCode int) int
- func (com *Opsoft) KeyDownChar(keyStr string) int
- func (com *Opsoft) KeyPress(vkCode int) int
- func (com *Opsoft) KeyPressChar(keyStr string) int
- func (com *Opsoft) KeyUp(vkCode int) int
- func (com *Opsoft) KeyUpChar(keyStr string) int
- func (com *Opsoft) LeftClick() int
- func (com *Opsoft) LeftDoubleClick() int
- func (com *Opsoft) LeftDown() int
- func (com *Opsoft) LeftUp() int
- func (com *Opsoft) MiddleClick() int
- func (com *Opsoft) MiddleDown() int
- func (com *Opsoft) MiddleUp() int
- func (com *Opsoft) MoveR(rx, ry int) int
- func (com *Opsoft) MoveTo(x, y int) int
- func (com *Opsoft) MoveToEx(x, y, w, h int) string
- func (com *Opsoft) MoveWindow(hwnd, x, y int) int
- func (com *Opsoft) Ocr(x1, y1, x2, y2 int, colorFormat string, sim float32) string
- func (com *Opsoft) OcrAuto(x1, y1, x2, y2 int, sim float32) string
- func (com *Opsoft) OcrAutoFromFile(colorFormat string, sim float32) string
- func (com *Opsoft) OcrEx(x1, y1, x2, y2 int, colorFormat string, sim float32) string
- func (com *Opsoft) OcrFromFile(fileName, colorFormat string, sim float32) string
- func (com *Opsoft) Release()
- func (com *Opsoft) RightClick() int
- func (com *Opsoft) RightDown() int
- func (com *Opsoft) RightUp() int
- func (com *Opsoft) RunApp(path string, mode int) int
- func (com *Opsoft) ScreenToClient(hwnd int, x, y *int) int
- func (com *Opsoft) SendPaste(hwnd int) int
- func (com *Opsoft) SendString(hwnd int, str string) int
- func (com *Opsoft) SetClientSize(hwnd, width, height int) int
- func (com *Opsoft) SetDict(index int, file string) int
- func (com *Opsoft) SetDisplayInput(mode string) int
- func (com *Opsoft) SetPath(path string) int
- func (com *Opsoft) SetShowErrorMsg(show int) int
- func (com *Opsoft) SetWindowSize(hwnd, width, height int) int
- func (com *Opsoft) SetWindowState(hwnd, flag int) int
- func (com *Opsoft) SetWindowText(hwnd int, title string) int
- func (com *Opsoft) SetWindowTransparent(hwnd, trans int) int
- func (com *Opsoft) UnBindWindow() int
- func (com *Opsoft) UseDict(index int) int
- func (com *Opsoft) Ver() string
- func (com *Opsoft) WaitKey(vkCode, timeOut int) int
- func (com *Opsoft) WheelDown() int
- func (com *Opsoft) WheelUp() int
- func (com *Opsoft) WinExec(path string, dis int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opsoft ¶
type Opsoft struct {
// contains filtered or unexported fields
}
func (*Opsoft) AStarFindPath ¶
func (*Opsoft) BindWindow ¶
func (*Opsoft) CapturePre ¶
func (*Opsoft) EnableDisplayDebug ¶
func (*Opsoft) EnableGetColorByCapture ¶
func (*Opsoft) EnablePicCache ¶
func (*Opsoft) EnumProcess ¶
func (*Opsoft) EnumWindow ¶
func (*Opsoft) EnumWindowByProcessId ¶
func (*Opsoft) EnumWindowSuper ¶
func (*Opsoft) FindColorEx ¶
func (*Opsoft) FindMultiColor ¶
func (*Opsoft) FindMultiColorEx ¶
func (*Opsoft) FindWindow ¶
func (*Opsoft) FindWindowByProcess ¶
func (*Opsoft) FindWindowByProcessId ¶
func (*Opsoft) FindWindowSuper ¶
func (*Opsoft) GetBasePath ¶
func (*Opsoft) GetCursorPos ¶
func (*Opsoft) GetForegroundFocus ¶
func (*Opsoft) GetForegroundWindow ¶
func (*Opsoft) GetKeyState ¶
func (*Opsoft) GetLastError ¶
func (*Opsoft) GetMousePointWindow ¶
func (*Opsoft) GetPointWindow ¶
func (*Opsoft) GetProcessInfo ¶
func (*Opsoft) GetScreenData ¶
func (*Opsoft) GetScreenDataBmp ¶
func (*Opsoft) GetSpecialWindow ¶
func (*Opsoft) GetWindowClass ¶
func (*Opsoft) GetWindowProcessId ¶
func (*Opsoft) GetWindowProcessPath ¶
func (*Opsoft) GetWindowState ¶
func (*Opsoft) GetWindowTitle ¶
func (*Opsoft) KeyDownChar ¶
func (*Opsoft) KeyPressChar ¶
func (*Opsoft) LeftDoubleClick ¶
func (*Opsoft) MiddleClick ¶
func (*Opsoft) MiddleDown ¶
func (*Opsoft) MoveWindow ¶
func (*Opsoft) OcrAutoFromFile ¶
func (*Opsoft) OcrFromFile ¶
func (*Opsoft) RightClick ¶
func (*Opsoft) SetClientSize ¶
func (*Opsoft) SetDisplayInput ¶
func (*Opsoft) SetShowErrorMsg ¶
func (*Opsoft) SetWindowSize ¶
func (*Opsoft) SetWindowState ¶
func (*Opsoft) SetWindowTransparent ¶
func (*Opsoft) UnBindWindow ¶
Click to show internal directories.
Click to hide internal directories.