mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-09 01:53:56 +00:00
Update docs
This commit is contained in:
parent
4a88ee2d8e
commit
694a63fa66
24
docs/doc.md
24
docs/doc.md
@ -78,6 +78,8 @@
|
||||
##### [PidExists](#PidExists)
|
||||
##### [Process](#Process)
|
||||
##### [FindName](#FindName)
|
||||
##### [FindNames](#FindNames)
|
||||
##### [FindIds](#FindIds)
|
||||
|
||||
### <h3 id="GetVersion">.GetVersion()</h3>
|
||||
Get robotgo version
|
||||
@ -679,4 +681,24 @@ func main() {
|
||||
pid
|
||||
|
||||
#### 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
|
@ -80,6 +80,8 @@
|
||||
##### [PidExists](#PidExists)
|
||||
##### [Process](#Process)
|
||||
##### [FindName](#FindName)
|
||||
##### [FindNames](#FindNames)
|
||||
##### [FindIds](#FindIds)
|
||||
|
||||
|
||||
## <h2 id="Keyboard">键盘</h2>
|
||||
@ -694,4 +696,24 @@ func main() {
|
||||
pid
|
||||
|
||||
#### 返回值:
|
||||
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
|
Loading…
Reference in New Issue
Block a user