diff --git a/docs/doc.md b/docs/doc.md
index 2170a53..46d9c30 100644
--- a/docs/doc.md
+++ b/docs/doc.md
@@ -76,6 +76,8 @@
##### [GetPID](#GetPID)
##### [Pids](#Pids)
##### [PidExists](#PidExists)
+##### [Process](#Process)
+##### [FindName](#FindName)
###
.GetVersion()
Get robotgo version
@@ -657,4 +659,24 @@ func main() {
pid
#### Return:
- Returns bool
\ No newline at end of file
+ Returns bool
+
+### .Process()
+
+ Process get the all process struct
+
+#### Arguments:
+ none
+
+#### Return:
+ Returns []Nps, error
+
+### .FindName()
+
+ FindName find the process name by the process id
+
+#### Arguments:
+ pid
+
+#### Return:
+ Returns string, error
\ No newline at end of file
diff --git a/docs/doc_zh.md b/docs/doc_zh.md
index d0893c6..9bf6d9e 100644
--- a/docs/doc_zh.md
+++ b/docs/doc_zh.md
@@ -78,6 +78,8 @@
##### [GetPID](#GetPID)
##### [Pids](#Pids)
##### [PidExists](#PidExists)
+##### [Process](#Process)
+##### [FindName](#FindName)
## 键盘
@@ -672,4 +674,24 @@ func main() {
pid
#### 返回值:
- 返回 bool
\ No newline at end of file
+ 返回 bool
+
+### .Process()
+
+ Process get the all process struct
+
+#### 参数:
+ 无
+
+#### 返回值:
+ Returns []Nps, error
+
+### .FindName()
+
+ FindName find the process name by the process id
+
+#### 参数:
+ pid
+
+#### 返回值:
+ Returns string, error
\ No newline at end of file
diff --git a/robotgo.go b/robotgo.go
index e70c4e8..346977b 100644
--- a/robotgo.go
+++ b/robotgo.go
@@ -55,7 +55,7 @@ import (
)
const (
- version string = "v0.45.0.366, Mount Qomolangma!"
+ version string = "v0.45.0.368, Mount Qomolangma!"
)
// GetVersion get version
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 10b6fa3..a2a9a62 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -46,38 +46,38 @@
{
"checksumSHA1": "T2ThCk35wXAZGh37nrgA07199dA=",
"path": "github.com/shirou/gopsutil/cpu",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
- "checksumSHA1": "CwrO9QBCltE965zskPoNMoB3LfQ=",
+ "checksumSHA1": "pHTMFRgV6ZcG8/W9RSO2HRKCYkA=",
"path": "github.com/shirou/gopsutil/host",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "YfGdUgCoLdHBhfG+kXczYXu/rKk=",
"path": "github.com/shirou/gopsutil/internal/common",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "/VB3F8T81eg3lj/UG1bFlfkTQIc=",
"path": "github.com/shirou/gopsutil/mem",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "moxD+mq0dMHnbTeFyeEHK0Iq7i8=",
"path": "github.com/shirou/gopsutil/net",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "XtEB6kqfHt8cxejes+BEx49oVSc=",
"path": "github.com/shirou/gopsutil/process",
- "revision": "42b5d5abb29c3033399cd15ef34104715ea487fc",
- "revisionTime": "2017-07-28T02:04:42Z"
+ "revision": "114c78c777eb86b58e40910cbd3fc451829c366d",
+ "revisionTime": "2017-08-03T02:08:35Z"
},
{
"checksumSHA1": "Nve7SpDmjsv6+rhkXAkfg/UQx94=",