mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Update docs
This commit is contained in:
parent
61404b6e61
commit
c14451562b
16
docs/doc.md
16
docs/doc.md
@ -461,17 +461,17 @@ func main() {
|
|||||||
Close the Window
|
Close the Window
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
|
None
|
||||||
|
|
||||||
###<h3 id="IsValid">.IsValid()</h3>
|
###<h3 id="IsValid">.IsValid()</h3>
|
||||||
|
|
||||||
Valid the Window
|
Valid the Window
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
Returns true if a window has been selected
|
Returns true if a window has been selected
|
||||||
@ -482,7 +482,7 @@ func main() {
|
|||||||
Set the Active Window
|
Set the Active Window
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
hwnd
|
hwnd
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
void
|
void
|
||||||
@ -493,7 +493,7 @@ func main() {
|
|||||||
Get the Active Window
|
Get the Active Window
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
Returns hwnd
|
Returns hwnd
|
||||||
@ -513,7 +513,7 @@ func main() {
|
|||||||
Get the Window Handle
|
Get the Window Handle
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
Returns hwnd
|
Returns hwnd
|
||||||
@ -523,7 +523,7 @@ func main() {
|
|||||||
Get the Window Title
|
Get the Window Title
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
Returns Window Title
|
Returns Window Title
|
||||||
@ -533,7 +533,7 @@ func main() {
|
|||||||
Get the process id
|
Get the process id
|
||||||
|
|
||||||
####Arguments:
|
####Arguments:
|
||||||
|
None
|
||||||
|
|
||||||
####Return:
|
####Return:
|
||||||
Returns the process id
|
Returns the process id
|
||||||
|
@ -476,17 +476,17 @@ func main() {
|
|||||||
关闭窗口
|
关闭窗口
|
||||||
|
|
||||||
####参数:
|
####参数:
|
||||||
|
无
|
||||||
|
|
||||||
####返回值:
|
####返回值:
|
||||||
|
无
|
||||||
|
|
||||||
###<h3 id="IsValid">.IsValid()</h3>
|
###<h3 id="IsValid">.IsValid()</h3>
|
||||||
|
|
||||||
Valid the Window
|
Valid the Window
|
||||||
|
|
||||||
####参数:
|
####参数:
|
||||||
|
无
|
||||||
|
|
||||||
####返回值:
|
####返回值:
|
||||||
如果窗口selected返回true
|
如果窗口selected返回true
|
||||||
@ -497,7 +497,7 @@ func main() {
|
|||||||
设为当前窗口
|
设为当前窗口
|
||||||
|
|
||||||
####参数:
|
####参数:
|
||||||
hwnd
|
hwnd
|
||||||
|
|
||||||
####返回值:
|
####返回值:
|
||||||
void
|
void
|
||||||
|
@ -132,7 +132,7 @@ void dispatch_proc(iohook_event * const event) {
|
|||||||
case EVENT_KEY_TYPED:
|
case EVENT_KEY_TYPED:
|
||||||
snprintf(buffer + length, sizeof(buffer) - length,
|
snprintf(buffer + length, sizeof(buffer) - length,
|
||||||
",keychar=%lc,rawcode=%u",
|
",keychar=%lc,rawcode=%u",
|
||||||
(uint16_t) event->data.keyboard.keychar,//wint_t
|
(uint16_t) event->data.keyboard.keychar,
|
||||||
event->data.keyboard.rawcode);
|
event->data.keyboard.rawcode);
|
||||||
|
|
||||||
#ifdef WE_REALLY_WANT_A_POINTER
|
#ifdef WE_REALLY_WANT_A_POINTER
|
||||||
|
Loading…
Reference in New Issue
Block a user