diff --git a/doc.md b/doc.md index f7be2b6..52f19d2 100644 --- a/doc.md +++ b/doc.md @@ -64,6 +64,7 @@ #####[SetHandle](#SetHandle) #####[GetHandle](#GetHandle) #####[GetTitle](#GetTitle) +#####[GetPID](#GetPID) ###

.GetVersion()

get robotgo version @@ -525,5 +526,15 @@ func main() { ####Return: - Returns Window Title + Returns Window Title + +###

.GetPID()

+ + Get the process id + +####Arguments: + + +####Return: + Returns the process id diff --git a/doc_zh.md b/doc_zh.md index 9e39ef5..46c8f37 100644 --- a/doc_zh.md +++ b/doc_zh.md @@ -67,6 +67,7 @@ #####[SetHandle](#SetHandle) #####[GetHandle](#GetHandle) #####[GetTitle](#GetTitle) +#####[GetPID](#GetPID) ##

键盘

@@ -540,4 +541,14 @@ func main() { ####返回值: - 返回窗口标题 \ No newline at end of file + 返回窗口标题 + +###

.GetPID()

+ + 获取进程id + +####参数: + + +####返回值: + 返回进程id \ No newline at end of file diff --git a/robotgo.go b/robotgo.go index 96cdf7b..f8a8cd6 100644 --- a/robotgo.go +++ b/robotgo.go @@ -39,7 +39,7 @@ import ( ) const ( - version string = "v0.42.0.219,Mount Ngauruhoe!" + version string = "v0.42.0.221,Mount Ngauruhoe!" ) //GetVersion get version