From 6c8fdb8c48bef67e746feb87d5d7217f70485225 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Tue, 25 Jul 2017 23:16:24 +0800 Subject: [PATCH] Update docs --- docs/doc.md | 21 +++++++++++++++++++++ docs/doc_zh.md | 24 +++++++++++++++++++++++- robotgo.go | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/docs/doc.md b/docs/doc.md index 1daa0b8..2170a53 100644 --- a/docs/doc.md +++ b/docs/doc.md @@ -74,6 +74,8 @@ ##### [GetBHandle](#GetHandle) ##### [GetTitle](#GetTitle) ##### [GetPID](#GetPID) +##### [Pids](#Pids) +##### [PidExists](#PidExists) ###

.GetVersion()

Get robotgo version @@ -637,3 +639,22 @@ func main() { #### Return: Returns the process id +###

.Pids()

+ + Pids get the all process id + +#### Arguments: + None + +#### Return: + Returns all process id + +###

.PidExists()

+ + PidExists determine whether the process exists + +#### Arguments: + pid + +#### Return: + Returns bool \ No newline at end of file diff --git a/docs/doc_zh.md b/docs/doc_zh.md index 9c97c55..d0893c6 100644 --- a/docs/doc_zh.md +++ b/docs/doc_zh.md @@ -76,6 +76,8 @@ ##### [GetBHandle](#GetHandle) ##### [GetTitle](#GetTitle) ##### [GetPID](#GetPID) +##### [Pids](#Pids) +##### [PidExists](#PidExists) ##

键盘

@@ -650,4 +652,24 @@ func main() { 无 #### 返回值: - 返回进程 id \ No newline at end of file + 返回进程 id + +###

.Pids()

+ + 获取所有进程 id + +#### 参数: + 无 + +#### 返回值: + 返回进程 id + +###

.PidExists()

+ + 判断进程 id 是否存在 + +#### 参数: + pid + +#### 返回值: + 返回 bool \ No newline at end of file diff --git a/robotgo.go b/robotgo.go index e0ebc45..e70c4e8 100644 --- a/robotgo.go +++ b/robotgo.go @@ -55,7 +55,7 @@ import ( ) const ( - version string = "v0.45.0.358, Mount Qomolangma!" + version string = "v0.45.0.366, Mount Qomolangma!" ) // GetVersion get version