From 1b5aeacbebc99d69a67de5aed6bc72c56eeab84f Mon Sep 17 00:00:00 2001 From: metalwood <377307289@qq.com> Date: Tue, 24 Jan 2017 11:43:44 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 71 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index c1a0b2e..196d5a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#Robotgo +#RobotGo @@ -9,17 +9,31 @@ [![Release](https://github-release-version.herokuapp.com/github/go-vgo/robotgo/release.svg?style=flat)](https://github.com/go-vgo/robotgo/releases/latest) [![Join the chat at https://gitter.im/go-vgo/robotgo](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-vgo/robotgo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +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 From 85ee4400270062cdb79e0f17aaf6cae347044395 Mon Sep 17 00:00:00 2001 From: metalwood <377307289@qq.com> Date: Tue, 24 Jan 2017 11:47:22 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 196d5a9..caf3763 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,9 @@ [![Join the chat at https://gitter.im/go-vgo/robotgo](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-vgo/robotgo?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -This is a work in progress. - >Golang Desktop Automation. - -RobotGo supports Mac, Windows, and Linux(X11). - -This is a work in progress. + >Golang Desktop Automation, it supports Mac, Windows, and Linux(X11). + [warn]This is a work in progress. ##Features @@ -30,17 +26,9 @@ Window Handle Global event listen +##API Docs - -##[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) -- [Requirements](#requirements) -- [Examples](#examples) -- [Future](#future) -- [Contributors](#contributors) +[English docs](https://github.com/go-vgo/robotgo/blob/master/doc.md)    [中文文档](https://github.com/go-vgo/robotgo/blob/master/doc_zh.md) ##Requirement install From b4c67f4198eda1c167d3ae31e3a8e43cd778b82b Mon Sep 17 00:00:00 2001 From: metalwood <377307289@qq.com> Date: Tue, 24 Jan 2017 13:20:58 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index caf3763..11526cd 100644 --- a/README.md +++ b/README.md @@ -11,26 +11,18 @@ - >Golang Desktop Automation, it supports Mac, Windows, and Linux(X11). + >Golang Desktop Automation, Control the mouse, keyboard, bitmap,read the screen,Window Handle and global event listener. [warn]This is a work in progress. -##Features +##Supported platforms -Mouse control - -Keyboard control - -Screen capture - -Window Handle - -Global event listen +MacOS, Windows, and Linux(with X11) ##API Docs [English docs](https://github.com/go-vgo/robotgo/blob/master/doc.md)    [中文文档](https://github.com/go-vgo/robotgo/blob/master/doc_zh.md) -##Requirement install +##Requirements install Before RobotGo installation, make sure Golang/GCC/zlib & libpng have been installed correctly.