Update docs

This commit is contained in:
vcaesar 2017-08-21 22:51:42 +08:00
parent 4a88ee2d8e
commit 694a63fa66
2 changed files with 46 additions and 2 deletions

View File

@ -78,6 +78,8 @@
##### [PidExists](#PidExists) ##### [PidExists](#PidExists)
##### [Process](#Process) ##### [Process](#Process)
##### [FindName](#FindName) ##### [FindName](#FindName)
##### [FindNames](#FindNames)
##### [FindIds](#FindIds)
### <h3 id="GetVersion">.GetVersion()</h3> ### <h3 id="GetVersion">.GetVersion()</h3>
Get robotgo version Get robotgo version
@ -680,3 +682,23 @@ func main() {
#### Return: #### Return:
Returns string, error Returns string, error
### <h3 id="FindNames">.FindNames()</h3>
FindNames find the all process name
#### Arguments:
none
#### Return:
Returns []string, error
### <h3 id="FindIds">.FindIds()</h3>
FindIds find the process id by the process name
#### Arguments:
name string
#### Return:
Returns []int32, error

View File

@ -80,6 +80,8 @@
##### [PidExists](#PidExists) ##### [PidExists](#PidExists)
##### [Process](#Process) ##### [Process](#Process)
##### [FindName](#FindName) ##### [FindName](#FindName)
##### [FindNames](#FindNames)
##### [FindIds](#FindIds)
## <h2 id="Keyboard">键盘</h2> ## <h2 id="Keyboard">键盘</h2>
@ -695,3 +697,23 @@ func main() {
#### 返回值: #### 返回值:
Returns string, error Returns string, error
### <h3 id="FindNames">.FindNames()</h3>
FindNames find the all process name
#### Arguments:
none
#### Return:
Returns []string, error
### <h3 id="FindIds">.FindIds()</h3>
FindIds find the process id by the process name
#### Arguments:
name string
#### Return:
Returns []int32, error