mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update docs
This commit is contained in:
parent
0ad7c49df0
commit
6c8fdb8c48
21
docs/doc.md
21
docs/doc.md
@ -74,6 +74,8 @@
|
||||
##### [GetBHandle](#GetHandle)
|
||||
##### [GetTitle](#GetTitle)
|
||||
##### [GetPID](#GetPID)
|
||||
##### [Pids](#Pids)
|
||||
##### [PidExists](#PidExists)
|
||||
|
||||
### <h3 id="GetVersion">.GetVersion()</h3>
|
||||
Get robotgo version
|
||||
@ -637,3 +639,22 @@ func main() {
|
||||
#### Return:
|
||||
Returns the process id
|
||||
|
||||
### <h3 id="Pids">.Pids()</h3>
|
||||
|
||||
Pids get the all process id
|
||||
|
||||
#### Arguments:
|
||||
None
|
||||
|
||||
#### Return:
|
||||
Returns all process id
|
||||
|
||||
### <h3 id="PidExists">.PidExists()</h3>
|
||||
|
||||
PidExists determine whether the process exists
|
||||
|
||||
#### Arguments:
|
||||
pid
|
||||
|
||||
#### Return:
|
||||
Returns bool
|
@ -76,6 +76,8 @@
|
||||
##### [GetBHandle](#GetHandle)
|
||||
##### [GetTitle](#GetTitle)
|
||||
##### [GetPID](#GetPID)
|
||||
##### [Pids](#Pids)
|
||||
##### [PidExists](#PidExists)
|
||||
|
||||
|
||||
## <h2 id="Keyboard">键盘</h2>
|
||||
@ -650,4 +652,24 @@ func main() {
|
||||
无
|
||||
|
||||
#### 返回值:
|
||||
返回进程 id
|
||||
返回进程 id
|
||||
|
||||
### <h3 id="Pids">.Pids()</h3>
|
||||
|
||||
获取所有进程 id
|
||||
|
||||
#### 参数:
|
||||
无
|
||||
|
||||
#### 返回值:
|
||||
返回进程 id
|
||||
|
||||
### <h3 id="PidExists">.PidExists()</h3>
|
||||
|
||||
判断进程 id 是否存在
|
||||
|
||||
#### 参数:
|
||||
pid
|
||||
|
||||
#### 返回值:
|
||||
返回 bool
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user