From 694a63fa668e96ab6522c7083ad2e4bec7a5b2bd Mon Sep 17 00:00:00 2001 From: vcaesar Date: Mon, 21 Aug 2017 22:51:42 +0800 Subject: [PATCH] Update docs --- docs/doc.md | 24 +++++++++++++++++++++++- docs/doc_zh.md | 24 +++++++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/docs/doc.md b/docs/doc.md index 46d9c30..6110ff1 100644 --- a/docs/doc.md +++ b/docs/doc.md @@ -78,6 +78,8 @@ ##### [PidExists](#PidExists) ##### [Process](#Process) ##### [FindName](#FindName) +##### [FindNames](#FindNames) +##### [FindIds](#FindIds) ###

.GetVersion()

Get robotgo version @@ -679,4 +681,24 @@ func main() { pid #### Return: - Returns string, error \ No newline at end of file + Returns string, error + +###

.FindNames()

+ + FindNames find the all process name + +#### Arguments: + none + +#### Return: + Returns []string, error + +###

.FindIds()

+ + FindIds find the process id by the process name + +#### Arguments: + name string + +#### Return: + Returns []int32, error \ No newline at end of file diff --git a/docs/doc_zh.md b/docs/doc_zh.md index 9bf6d9e..bb927d4 100644 --- a/docs/doc_zh.md +++ b/docs/doc_zh.md @@ -80,6 +80,8 @@ ##### [PidExists](#PidExists) ##### [Process](#Process) ##### [FindName](#FindName) +##### [FindNames](#FindNames) +##### [FindIds](#FindIds) ##

键盘

@@ -694,4 +696,24 @@ func main() { pid #### 返回值: - Returns string, error \ No newline at end of file + Returns string, error + +###

.FindNames()

+ + FindNames find the all process name + +#### Arguments: + none + +#### Return: + Returns []string, error + +###

.FindIds()

+ + FindIds find the process id by the process name + +#### Arguments: + name string + +#### Return: + Returns []int32, error \ No newline at end of file