Update doc

This commit is contained in:
vCaesar 2017-01-18 20:41:39 +08:00
parent bbc0c8e2a7
commit 85377986eb
3 changed files with 25 additions and 3 deletions

13
doc.md
View File

@ -64,6 +64,7 @@
#####[SetHandle](#SetHandle) #####[SetHandle](#SetHandle)
#####[GetHandle](#GetHandle) #####[GetHandle](#GetHandle)
#####[GetTitle](#GetTitle) #####[GetTitle](#GetTitle)
#####[GetPID](#GetPID)
###<h3 id="GetVersion">.GetVersion()</h3> ###<h3 id="GetVersion">.GetVersion()</h3>
get robotgo version get robotgo version
@ -525,5 +526,15 @@ func main() {
####Return: ####Return:
Returns Window Title Returns Window Title
###<h3 id="GetPID">.GetPID()</h3>
Get the process id
####Arguments:
####Return:
Returns the process id

View File

@ -67,6 +67,7 @@
#####[SetHandle](#SetHandle) #####[SetHandle](#SetHandle)
#####[GetHandle](#GetHandle) #####[GetHandle](#GetHandle)
#####[GetTitle](#GetTitle) #####[GetTitle](#GetTitle)
#####[GetPID](#GetPID)
##<h2 id="Keyboard">键盘</h2> ##<h2 id="Keyboard">键盘</h2>
@ -540,4 +541,14 @@ func main() {
####返回值: ####返回值:
返回窗口标题 返回窗口标题
###<h3 id="GetPID">.GetPID()</h3>
获取进程id
####参数:
####返回值:
返回进程id

View File

@ -39,7 +39,7 @@ import (
) )
const ( const (
version string = "v0.42.0.219,Mount Ngauruhoe!" version string = "v0.42.0.221,Mount Ngauruhoe!"
) )
//GetVersion get version //GetVersion get version