mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-05 00:03:55 +00:00
Update README.md
This commit is contained in:
parent
cb6aa1075e
commit
1b5aeacbeb
71
README.md
71
README.md
@ -1,4 +1,4 @@
|
||||
#Robotgo
|
||||
#RobotGo
|
||||
<!--<img align="right" src="https://raw.githubusercontent.com/go-vgo/robotgo/master/logo.jpg">-->
|
||||
<!--[](https://travis-ci.org/go-vgo/robotgo)
|
||||
[](https://codecov.io/gh/go-vgo/robotgo)-->
|
||||
@ -9,17 +9,31 @@
|
||||
[](https://github.com/go-vgo/robotgo/releases/latest)
|
||||
[](https://gitter.im/go-vgo/robotgo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
<!--<a href="https://github.com/go-vgo/robotgo/releases"><img src="https://img.shields.io/badge/%20version%20-%206.0.0%20-blue.svg?style=flat-square" alt="Releases"></a>-->
|
||||
|
||||
This is a work in progress.
|
||||
|
||||
>Golang Desktop Automation. Control the mouse, keyboard, bitmap,read the screen,Window Handle and global event listener.
|
||||
>Golang Desktop Automation.
|
||||
|
||||
RobotGo supports Mac, Windows, and Linux(X11).
|
||||
|
||||
This is a work in progress.
|
||||
|
||||
##Features
|
||||
|
||||
Mouse control
|
||||
|
||||
Keyboard control
|
||||
|
||||
Screen capture
|
||||
|
||||
Window Handle
|
||||
|
||||
Global event listen
|
||||
|
||||
|
||||
##[API Document](https://github.com/go-vgo/robotgo/blob/master/doc.md) [中文文档](https://github.com/go-vgo/robotgo/blob/master/doc_zh.md)
|
||||
Please click API Document;This is a work in progress.
|
||||
|
||||
##[API Docs](https://github.com/go-vgo/robotgo/blob/master/doc.md) [中文文档](https://github.com/go-vgo/robotgo/blob/master/doc_zh.md)
|
||||
|
||||
|
||||
- [Installation](#installation)
|
||||
- [Update](#update)
|
||||
@ -28,40 +42,24 @@ This is a work in progress.
|
||||
- [Future](#future)
|
||||
- [Contributors](#contributors)
|
||||
|
||||
##Requirement install
|
||||
|
||||
##Installation:
|
||||
```
|
||||
go get github.com/go-vgo/robotgo
|
||||
```
|
||||
It's that easy!
|
||||
Before RobotGo installation, make sure Golang/GCC/zlib & libpng have been installed correctly.
|
||||
|
||||
##Update:
|
||||
```
|
||||
go get -u github.com/go-vgo/robotgo
|
||||
```
|
||||
###Requirements:
|
||||
|
||||
####ALL:
|
||||
```
|
||||
Golang
|
||||
//Gcc
|
||||
zlib & libpng (bitmap)
|
||||
```
|
||||
####For Mac OS X:
|
||||
Xcode Command Line Tools
|
||||
####Under MacOS
|
||||
```
|
||||
brew install libpng
|
||||
brew install homebrew/dupes/zlib
|
||||
```
|
||||
####For Windows:
|
||||
####Under Windows
|
||||
```
|
||||
MinGW or other GCC
|
||||
MinGW
|
||||
```
|
||||
#####[zlib&libpng Windows32 GCC's Course](https://github.com/go-vgo/Mingw32)
|
||||
|
||||
#####[Download include zlib&libpng Windows64 GCC](https://github.com/go-vgo/Mingw)
|
||||
|
||||
####For everything else:
|
||||
####For everything else
|
||||
```
|
||||
GCC
|
||||
|
||||
@ -72,7 +70,7 @@ Event:
|
||||
xcb,xkb,libxkbcommon
|
||||
```
|
||||
|
||||
#####Ubuntu:
|
||||
#####Under Ubuntu
|
||||
```yml
|
||||
|
||||
sudo apt-get install libx11-dev
|
||||
@ -80,16 +78,19 @@ sudo apt-get install libx11-dev
|
||||
#sudo apt-get install libghc6-x11-dev
|
||||
#sudo apt-get install libgl1-mesa-swx11-dev
|
||||
sudo apt-get install xorg-dev
|
||||
|
||||
sudo apt-get install libxtst-dev libpng++-dev
|
||||
|
||||
#Event:
|
||||
|
||||
sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
|
||||
sudo apt-get install libxkbcommon-dev
|
||||
|
||||
```
|
||||
##[Examples:](https://github.com/go-vgo/robotgo/blob/master/example/main.go)
|
||||
|
||||
## RobotGo install or Update
|
||||
|
||||
```
|
||||
go get -u github.com/go-vgo/robotgo
|
||||
```
|
||||
|
||||
##Examples
|
||||
|
||||
###Mouse
|
||||
|
||||
@ -213,10 +214,12 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
##Future
|
||||
###[More Examples](https://github.com/go-vgo/robotgo/blob/master/example/main.go)
|
||||
|
||||
##TODO
|
||||
- Update Find an image on screen, read pixels from an image
|
||||
- Update Window Handle
|
||||
- Try support Android,maybe support IOS.
|
||||
- Try support Android, maybe iOS too
|
||||
|
||||
##Contributors
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user