Commit Graph

482 Commits

Author SHA1 Message Date
vcaesar
df1a872e09 add SaveImg function code 2020-01-31 12:29:15 -04:00
vcaesar
f30b2c7797 move hook to hook.go 2020-01-31 12:26:28 -04:00
vcaesar
82dcb4ec53 add move mouse and move smooth relative code 2020-01-23 11:30:48 -04:00
vcaesar
4f343de1c5 update code fixed x11 type sleep 2019-12-15 17:55:15 -04:00
vcaesar
c9767fb59b Update TypeStr function, add type
delay and speed support
2019-12-15 17:51:52 -04:00
vcaesar
f449b485a0 Update TypeStrDelay function, remove unused code 2019-12-15 17:38:11 -04:00
vcaesar
1fa740cacc update godoc 2019-12-15 17:27:53 -04:00
vcaesar
1d1ed41db2 Update TypeStr function, optimize x11 type string 2019-12-11 12:39:37 -04:00
vcaesar
235139bced Update to utf-code function Fixed #189 2019-12-10 07:40:24 -04:00
vcaesar
c3334d86b3 add all platform system scale support 2019-12-04 10:08:09 -04:00
vcaesar
a5f566e505 add move smooth multiple screens support 2019-12-02 12:18:03 -04:00
vcaesar
29ae3d4fdf add screen and bitmap multiple screens support 2019-12-01 09:24:55 -04:00
vcaesar
4df22c5baa add drag and move mouse multiple screens support 2019-11-30 14:28:38 -04:00
vcaesar
1eb7c942a9 update cgo code and version 2019-11-13 12:46:15 -04:00
vcaesar
399bd641ca Update version 2019-09-13 11:09:59 -04:00
vcaesar
50af1aa75f update code remove duplicate code and update godoc 2019-08-07 12:45:36 -04:00
vcaesar
aed59fefb7 update godoc and code style 2019-07-07 11:58:22 -04:00
vcaesar
7308e0c82e export hook keycode and add godoc 2019-06-18 14:36:10 -04:00
vcaesar
cb549ee939 add drag smooth function support 2019-06-05 12:59:50 -04:00
vcaesar
60a9ad9648 Update version 2019-05-27 13:18:16 -04:00
vcaesar
fc76ba9a5c add find color nil args support 2019-05-15 11:22:39 -04:00
vcaesar
69aa3a798e add find bitmap nil args support 2019-05-15 10:58:39 -04:00
vcaesar
80aea16f32 add KeyTap() args[2] delay support 2019-05-15 10:55:44 -04:00
vcaesar
1aff63a651 use gops to simplify code 2019-05-07 09:42:31 -04:00
vcaesar
0d402e0432 add process FindPath() function 2019-05-06 10:41:10 -04:00
vcaesar
d768b5e315 add Is64Bit go function 2019-05-06 10:39:12 -04:00
vcaesar
2251b4a063 update version and code style 2019-05-03 11:18:23 -04:00
vcaesar
57db5a7202 Fixed #213 AddEvents() can't listen correctly multiple times 2019-04-22 14:00:36 -04:00
vcaesar
0d6d65418e add bitmap from string clear api 2019-03-30 13:23:38 -04:00
vcaesar
a4a4d26f62 update Bitmap struct delete fuzzy api 2019-03-30 11:58:03 -04:00
vcaesar
c26d9022db update keyTap code 2019-03-29 12:12:52 -04:00
vcaesar
36f02502a8 update keytap code style 2019-03-29 12:07:32 -04:00
vcaesar
4a98546f6f add keyTap and keyToggle "...string" parameters support, Fixed #209 2019-03-28 13:23:38 -04:00
vcaesar
fff1d95fcf add uint32 to Chex function support 2019-03-28 12:57:46 -04:00
vcaesar
43e1594f59 add get mouse color function 2019-03-28 12:56:46 -04:00
vcaesar
9d92e0f852 update godoc 2019-03-21 11:03:32 -04:00
vcaesar
73866c8273 optimize get title code, Fixed #165 and typo 2019-03-19 10:30:45 -04:00
vcaesar
8d588443b3 gofmt go code and update code style 2019-03-16 09:23:52 -04:00
vinhjaxt
d280b98394 add ToBitmapBytes func (#204) 2019-03-16 09:12:07 -04:00
vcaesar
19c54fff4f add key Kind Fixed #203 2019-03-15 14:04:19 -04:00
Prashant Gupta
67aa69f4c3 type conversion needed in addMouse (#201) 2019-03-15 08:39:42 -04:00
vcaesar
193b4935d4 Update version 2019-03-11 10:29:43 -04:00
vcaesar
99bcbcd591 move GetText() func code 2019-03-11 10:26:58 -04:00
vcaesar
b37868f1ee add AddMousePos func, add listen mouse pos hook 2019-03-08 14:17:51 -04:00
vcaesar
e6fa68d0ff add addEvent "center" support and Update version 2019-03-08 11:07:10 -04:00
vcaesar
ef8856688b add addMouse hook function 2019-03-07 12:11:01 -04:00
vcaesar
2e0ca1387c update _Ctype_char to C.char, Fixed go1.12 build error #191 2019-02-26 11:55:20 -04:00
vcaesar
753e2801d9 add AddEvents func, Fixed #98, #61, #69... 2019-02-21 10:12:04 -04:00
vcaesar
54e8f5f3fc add hook start and end func 2019-02-21 09:47:45 -04:00
vcaesar
5ef1a4ee70 refactor AddEvent() func and add keycode.go, update example 2019-02-21 09:43:48 -04:00
vcaesar
5cb95037c5 optimize code not defer and remove useless code 2019-01-25 12:56:10 -04:00
vcaesar
cf48f5ee8a Update version 2019-01-16 10:40:25 -04:00
vcaesar
8d458b66a5 add mul scale func and optimize code 2019-01-09 13:24:06 -04:00
vcaesar
7e017b4cb4 Update version 2019-01-07 13:08:13 -04:00
vcaesar
ad85cfd792 add drag mouse other button support 2018-12-27 12:44:38 -04:00
vcaesar
0a380045a3 add keyTap run error return support and update godoc 2018-12-27 12:33:39 -04:00
vcaesar
e5d5f106b5 add check mouse button func and simplify mouse func code 2018-12-27 12:21:50 -04:00
vcaesar
6b083e7666 update version and optimize code 2018-12-26 12:55:17 -04:00
vcaesar
e1214bf111 add AddEvent() key "cmd" support 2018-12-13 11:16:49 -04:00
vcaesar
f71b00e6b9 add millisleep func and update godoc 2018-12-12 16:58:23 -04:00
vcaesar
54f78e2aa8 update code style and remove useless code 2018-12-11 14:04:28 -04:00
vcaesar
87e23b9adf optimize and clearer keytap code 2018-12-11 13:12:16 -04:00
vcaesar
477fc947e1 add GetColors func return string 2018-11-25 10:50:57 -04:00
vcaesar
adf02582ab update godoc and code style 2018-11-14 12:07:26 -04:00
vcaesar
402e93514c add new window10 zoom ratio 2018-10-26 12:06:34 -04:00
vcaesar
e2fd078da8 Fixed bitmapClick() parameter bug 2018-10-19 11:19:38 -04:00
vcaesar
a1c3f77e0c optimize and clean keyToggle code 2018-10-11 13:07:21 -04:00
vcaesar
5633fcf698 Update CHANGELOG.md 2018-10-09 12:50:32 -04:00
vcaesar
21426f901e Update godoc 2018-10-09 10:56:30 -04:00
vcaesar
cdabf53fd5 Update version 2018-10-09 10:49:08 -04:00
vcaesar
68ba8e8aaa Simplify SaveCapture code 2018-10-07 13:00:16 -04:00
vcaesar
1e7434c6e8 update dockerfile to go1.11.1 2018-10-02 10:21:35 -04:00
vz
2928787f51
update godoc 2018-10-02 10:08:19 -04:00
vz
51a2394a94
update godoc 2018-10-02 09:05:57 -04:00
redstarcoder
ea1166564a Update FindIds doc and only set name once in loop 2018-10-01 15:39:47 -04:00
vcaesar
f3a5747ac2 add FindCBitmap func support 2018-09-30 09:41:35 -04:00
vcaesar
7278a22ca6 update version 2018-09-20 12:05:04 -04:00
vcaesar
75b468839f split func and remove dep 2018-09-16 19:51:21 -04:00
vcaesar
7d4573cdd4 update godoc 2018-09-14 17:35:42 -04:00
vcaesar
9175329c2d update godoc 2018-09-14 17:32:31 -04:00
vcaesar
0c375882f0 update godoc 2018-09-14 09:42:43 -04:00
vcaesar
ca463c32cd update godoc 2018-09-14 07:40:58 -04:00
vcaesar
fa7fc547ce update and fixed godoc 2018-09-10 13:54:35 -04:00
vcaesar
3d2ef162e6 update godoc and clearer parameter name 2018-09-10 13:39:09 -04:00
vcaesar
76898b335b update code name style 2018-09-04 14:02:27 -04:00
vcaesar
c4e7fbb392 update set handle by pid and add get handle mdata by pid 2018-08-28 09:16:25 -04:00
vcaesar
a6799263b5 add close window example and add set handle by pid func 2018-08-25 09:51:38 -04:00
vcaesar
727ab062fb update close_window() allow by pid 2018-08-23 12:06:42 -04:00
vcaesar
873e9d30dc update getTitle func and .h name 2018-08-21 12:47:31 -04:00
vcaesar
245f48f4f2 Update README.md 2018-08-15 07:22:13 -04:00
vcaesar
cea1b340d7 update code style and move scale to win_sys 2018-08-14 07:18:14 -04:00
vcaesar
2a813b1e31 update version number 2018-08-13 11:09:07 -04:00
vcaesar
8f8937daad add internalGetBounds and x11 getXidFromPid to GetBounds 2018-08-13 09:57:24 -04:00
vcaesar
e1769c70dc update set handle return and add getBounds func [ci skip] 2018-08-13 09:11:45 -04:00
vcaesar
8a91b0e572 move some pub method and rename some c_func 2018-08-12 08:51:36 -04:00
vcaesar
01bee868bb v0.50.0 is released! 2018-08-08 09:43:46 -04:00
vcaesar
2fbd770917 add simple ocr support 2018-08-08 09:19:17 -04:00
vcaesar
4d8b9903c4 Update README.md [add freeBitmap example] 2018-08-03 11:51:28 -04:00
vcaesar
72b9657ffa update free bitmap godoc 2018-08-03 11:45:09 -04:00
vcaesar
8319573011 update version and fix README.md link 2018-08-03 08:08:11 -04:00
vcaesar
814c5e6980 fix float args and update examples [add freeBitmap and update findColor] 2018-08-03 07:10:04 -04:00
vcaesar
c6d60bd3f2 optimize findColor and uniform API with findBitmap [ci skip] 2018-08-03 06:46:08 -04:00
vcaesar
030b3ada1e update macos .a downgrade to 10.10 just warning not exit [fix #102, #128, #134] 2018-08-02 12:54:42 -04:00
vcaesar
585c303c30 update findBitmap and findColor default tolerance 0.5 to 0.01
[improve accuracy]
2018-07-31 13:17:30 -04:00
vcaesar
2e9399a05f add more Window example 2018-07-30 01:23:58 +08:00
vcaesar
e4a8b1f854 simplified max and min window api 2018-07-30 00:57:31 +08:00
vcaesar
409c2361f3 add max and min go func 2018-07-29 23:56:28 +08:00
vcaesar
b5f3ccb41f update getPid type to int32 2018-07-29 23:33:19 +08:00
vcaesar
69b4f4210f update var code style 2018-07-29 18:53:30 +08:00
vcaesar
44a2fc533b automatic free internal bitmap 2018-07-28 23:32:43 +08:00
vcaesar
111d1badb1 just free internal bitmap and add bitmapStr example 2018-07-28 23:07:40 +08:00
vcaesar
5ab8d85856 remove old useless code 2018-07-28 20:58:58 +08:00
vcaesar
6a062c7f90 automatic free internal bitmap 2018-07-28 19:24:49 +08:00
vcaesar
ff8cd7b142 fixed findBitmap and findPic memory leak 2018-07-28 18:55:03 +08:00
vcaesar
126392f38b fmt code and updata pkg 2018-07-24 22:53:16 +08:00
vcaesar
d1ea0fd81b add Custom DPI Scaling support 2018-07-24 21:26:53 +08:00
vcaesar
794cbf87ad update version and godoc 2018-07-21 19:42:06 +08:00
vcaesar
e3833dda5e add scale default value 2018-07-20 18:29:06 +08:00
vcaesar
2348a44ad6 remove duplicate code 2018-07-20 00:14:21 +08:00
vcaesar
de187609d7 update code style use if not try 2018-07-20 00:06:34 +08:00
vcaesar
4705619e99 update mouse click and fix moveClick and movesClick args 2018-07-19 23:55:40 +08:00
vcaesar
cd0c3ed6d8 update godoc and version 2018-07-10 23:13:27 +08:00
vcaesar
186df36c2c update active pid try to fix #140 2018-07-10 20:02:18 +08:00
vcaesar
9c2797ade0 fix dpi spell 2018-07-09 23:33:59 +08:00
vcaesar
62b865dbef add get Scale and GetScaleSize func 2018-07-09 23:29:27 +08:00
vcaesar
ec82b0fd15 add get primary display DPI scale factor fix #129, #135 2018-07-09 22:52:55 +08:00
vcaesar
962a413203 update godoc and README.md 2018-07-06 19:29:38 +08:00
vcaesar
3dce490b76 update typestr, godoc and version 2018-06-18 21:13:34 +08:00
vcaesar
fdddd73837 add bitmap to CBitmap func 2018-06-16 19:17:06 +08:00
vcaesar
96c089b3dc update mouse toggle 2018-06-07 23:36:29 +08:00
vcaesar
12b92368c0 update keytap func 2018-05-31 00:05:07 +08:00
vcaesar
e99cfb6e93 update find every bitmap func 2018-05-30 23:56:04 +08:00
vcaesar
52a7bb04d0 optimize bitmap code 2018-05-30 23:52:09 +08:00
vcaesar
dd31f29ad5 update savebitmap code 2018-05-30 23:39:53 +08:00
vcaesar
974dbcfc15 update open and save bitmap 2018-05-22 20:48:57 +08:00
vcaesar
5e6a6187de update and fmt code style 2018-05-06 18:04:31 +08:00
vcaesar
1f95f5f2ae update code and update some name 2018-04-30 23:38:34 +08:00
vcaesar
08341cc1aa Update CHANGELOG.md 2018-04-27 18:50:37 +08:00
vcaesar
a2645bafeb Update version 2018-04-27 18:03:16 +08:00
vcaesar
94423c71ec update some var name and merge some func 2018-04-26 22:39:31 +08:00
vcaesar
35215c9e70 optimize code func args 2018-04-22 23:55:49 +08:00
vcaesar
f5216aa9dc optimize code and update godoc 2018-04-22 23:34:04 +08:00
vcaesar
b618176823 update code and version 2018-04-20 23:19:22 +08:00
vcaesar
1b6fc08b8a add micro sleep time 2018-04-20 23:04:40 +08:00
vcaesar
fda0ba08a3 add linux typestr utf support 2018-04-20 22:38:40 +08:00
vcaesar
722b2b07e0 update godoc and deprecated GetBHandle 2018-04-11 21:14:57 +08:00
vcaesar
5957e315c9 update activePid allow Windows via hwnd 2018-04-11 21:07:17 +08:00
vcaesar
bec5c1e9c3 update and optimize func 2018-04-10 20:33:04 +08:00
vcaesar
d54cbecb37 update ci and add func internalFindBitmap 2018-04-10 20:06:03 +08:00
vcaesar
f6cd1d99dd update examples 2018-04-09 17:45:07 +08:00