Commit Graph

482 Commits

Author SHA1 Message Date
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
vcaesar
cc49c369c7 update godoc and fmt code 2018-04-09 17:39:47 +08:00
vcaesar
b99914bc5e add find image by path 2018-04-09 17:34:02 +08:00
vcaesar
26e0b82abc update work path 2018-04-02 19:16:54 +08:00
vcaesar
8865d93a65 update pkg and version 2018-03-24 21:15:21 +08:00
vcaesar
15afbb6132 add func microsleep and update 2018-03-12 23:05:40 +08:00
vcaesar
600734c884 remove travis ci 1.8.x 2018-03-06 20:44:40 +08:00
vcaesar
39e40cddf9 add more open bitmap func 2018-03-06 17:40:01 +08:00
vcaesar
bdcad6d55d fmt go code 2018-02-25 15:54:12 +08:00
vcaesar
0b6a81e6f0 update godoc and examples and fix 2018-02-25 15:43:29 +08:00
vcaesar
0a93336c11 add scroll mouse support x, y 2018-02-25 15:22:52 +08:00
vcaesar
7ae127373e update getportion param to go type 2018-02-13 19:07:35 +08:00
vcaesar
0eda71b5e5 add get image size func 2018-02-13 18:56:57 +08:00
vcaesar
3c5e8caf89 add AddEvent "space" fix #110 2018-02-07 20:16:12 +08:00
vcaesar
9412f8be63 add move smooth return 2018-02-06 21:32:39 +08:00
vcaesar
1b840c8102 update move smooth fix #96 2018-02-06 18:21:08 +08:00
vcaesar
3c4a887903 Update Kill, README.md and examples 2018-02-03 17:42:38 +08:00
vcaesar
007a4d2ba6 update godoc 2018-02-03 17:32:21 +08:00
vcaesar
8a94d16c46 fmt and update keytoggle code 2018-02-03 16:24:49 +08:00
vcaesar
e0f9739fa2 update godoc 2018-02-03 16:15:57 +08:00
vcaesar
5b62cac9bc update and unify copyright year 2018-02-02 00:07:44 +08:00
vcaesar
83dcf38788 fix clipboard golint 2018-02-01 22:03:57 +08:00
vcaesar
b50a1410a1 fixed a mistake 2018-01-29 20:25:42 +08:00
vcaesar
9503875953 add esc support fix #105 2018-01-27 18:36:16 +08:00
vcaesar
b9836d769a update examples and remove useless function 2018-01-27 01:28:02 +08:00
vcaesar
401c700580 Update version 2018-01-25 22:27:56 +08:00
vcaesar
4cef045d73 Release 0.48.0 2018-01-25 21:24:39 +08:00
vcaesar
a8e57bc169 change some code style 2018-01-21 22:21:16 +08:00
vcaesar
065d1acc2b change some code style 2018-01-21 21:56:33 +08:00
vcaesar
a2ac46c3be add more examples 2018-01-18 21:39:27 +08:00
vcaesar
4ff2a48182 update godoc and paste string name 2018-01-17 19:06:23 +08:00
vcaesar
e1444437c2 add sleep and update README.md 2018-01-16 19:31:19 +08:00
vcaesar
5005c38b4f add utf-8 support 2018-01-16 18:01:19 +08:00
vcaesar
8733401ce5 add bitmap click and movesClick func 2018-01-13 21:49:13 +08:00
vcaesar
852a213e1c fix find bitmap float args 2018-01-09 20:30:25 +08:00
vcaesar
9f0400167b update bitmap name and add count of bitmap 2018-01-08 21:58:08 +08:00
vcaesar
aa247025d2 add more key listen 2018-01-06 18:15:50 +08:00
vcaesar
0feb5ee1b1 add active window by name 2018-01-04 20:01:45 +08:00
vcaesar
97f54f7f3d add count bitmap color func 2018-01-02 21:31:33 +08:00
vcaesar
6434928f2d fix some range and update c name 2017-12-30 17:49:15 +08:00
vcaesar
df79f9793b update some c name and fmt code 2017-12-29 20:24:47 +08:00
vcaesar
4af3883371 update screen and event c name 2017-12-29 20:18:28 +08:00
vcaesar
fc9bb0f605 update window and bitmap c name 2017-12-29 19:52:42 +08:00
vcaesar
182d9a9803 update key toggle and update keyboard c name 2017-12-29 19:36:08 +08:00
vcaesar
d238461afa update move mouse smooth and update mouse c name 2017-12-29 19:20:22 +08:00
vcaesar
b8413f7bd4 add tochar bitmap and gostring, update godoc and fmt code 2017-12-27 19:24:16 +08:00
weilong
379e12d968 change TostringBitmap return Fixed #93 2017-12-27 17:53:45 +08:00
vcaesar
4f85eb5056 add more color processing and conversion 2017-12-25 17:05:10 +08:00
vcaesar
bb7518a04a add ToMMRGBHex convert color hex 2017-12-25 00:53:22 +08:00
vcaesar
eb425d7652 update godoc and fmt code 2017-12-25 00:42:41 +08:00
vcaesar
08e95ff4d4 fix godoc error 2017-12-25 00:38:33 +08:00
weilong
43f7b348b5 use CBitmap covert to C.MMBitmapRef Fixed #90 2017-12-25 00:02:16 +08:00
vcaesar
633665224b add CBitmap and more examples 2017-12-24 23:01:22 +08:00
weilong
b5676fa258 add func ToBitmap Fixed #90 2017-12-24 20:48:35 +08:00
weilong
b35fdf1711 FindColorCS add param tolerance Fixed #84 2017-12-24 14:54:14 +08:00
vcaesar
883e9c24a9 fix keytap some error and fmt code 2017-12-24 02:07:41 +08:00
vcaesar
214ac59298 update keyboard code and add key delay 2017-12-24 01:56:02 +08:00
vcaesar
b55f438c1b add get pixel color return hex 2017-12-23 23:38:35 +08:00
vcaesar
7a1ffa66a9 update code and add func PointInBounds 2017-12-20 23:01:56 +08:00
vcaesar
15478423d7 remove robot examples 2017-12-13 22:15:27 +08:00
vcaesar
a7f2f933e1 Add SaveCapture, remove robot and add SaveCapture examples 2017-12-13 22:10:56 +08:00
vcaesar
d64394dfd6 Release 0.47.0 2017-12-12 18:47:25 +08:00
vcaesar
ebee256da1 Update version and add CODEOWNERS 2017-12-11 23:37:01 +08:00
vcaesar
a263c09d03 Update circle to 2.0 2017-12-11 23:12:56 +08:00
vcaesar
3eee78dbe7 Update README.md and godoc 2017-12-09 02:32:23 +08:00
vcaesar
efe8a698d3 Update README.md 2017-12-09 02:22:06 +08:00
vcaesar
95b90c19c9 Add mac deps and Update README.md, png_io, cgo link 2017-12-09 02:16:26 +08:00
vcaesar
3b959e4676 Add win32 deps and Update README.md 2017-12-08 23:47:07 +08:00
vcaesar
ad631a1f96 add windows dependency 2017-12-08 16:17:41 +08:00
vcaesar
bec112817b add FindColorCS, CHex type and update findcolor, code 2017-12-02 22:19:07 +08:00
vcaesar
18029106ac add kill the process 2017-11-29 16:22:16 +08:00
vcaesar
816bfeaba9 update CHANGELOG.md 2017-11-21 19:29:22 +08:00
vcaesar
453375cb59 update and fmt code 2017-11-20 22:03:30 +08:00
vcaesar
97a368ff0d update png io and clink 2017-11-20 21:40:15 +08:00
vcaesar
3bf311f348 add windows deps 2017-11-20 18:07:20 +08:00
vcaesar
10cf69cd93 Update README.md 2017-11-17 22:38:38 +08:00
vcaesar
37a19570e2 Update version 2017-11-10 21:30:11 +08:00
vcaesar
7dfebac8b9 rename BCaptureScreen and update code 2017-11-09 22:40:58 +08:00
vcaesar
f112ab1abc add no bitmap in master 2017-11-05 14:16:35 +08:00
vcaesar
02ca8ea6fe add more find bitmap 2017-11-04 21:57:09 +08:00
vcaesar
b8e7e584a7 add bitmap string func 2017-10-28 21:41:20 +08:00
vcaesar
5afcb0af9c Update examples 2017-10-20 15:32:34 +08:00
vcaesar
ea0b910646 Add find some color 2017-09-14 23:02:43 +08:00
vcaesar
6d2317ee69 Add getcolor and Update examples 2017-09-14 22:47:21 +08:00
vcaesar
979a569eda Update bitmap 2017-09-14 21:44:06 +08:00
vcaesar
d520880502 Update examples 2017-09-07 21:42:11 +08:00
vcaesar
7ecdc2b938 Update findbit api to classics 2017-08-24 21:31:42 +08:00
vcaesar
b19aa2cffa Update version 2017-08-24 20:55:25 +08:00
vcaesar
ca3c7a6c9b Update and fix bitmap 2017-08-24 20:34:45 +08:00
vcaesar
4c9ee3ff34 Fix move mose args 2017-08-12 18:42:19 +08:00
vcaesar
474f19b407 Update docs 2017-08-03 22:43:21 +08:00
vCaesar
6c8fdb8c48 Update docs 2017-07-25 23:16:24 +08:00
vCaesar
6e3a4db36a Update pid type and fix windows err 2017-07-13 22:40:56 +08:00
vCaesar
fc6720ac70 Add Active func 2017-07-13 22:02:27 +08:00
vCaesar
debec4a237 Update README.md and FindIds 2017-07-04 20:19:39 +08:00
vCaesar
e7e29b5f3f Update CHANGELOG.md 2017-07-02 12:52:25 +08:00
vCaesar
2c870bb7a0 Add README.md and update version 2017-07-02 12:01:07 +08:00
vCaesar
7ac679bf89 Fix godoc error 2017-07-02 11:53:31 +08:00
vCaesar
add045bd57 Update the code style 2017-07-01 20:24:35 +08:00
vCaesar
a3b40df21a Add more process func and vendor.json 2017-07-01 19:21:06 +08:00
vCaesar
44578aad48 Update freebitmap and rename some c func 2017-06-29 23:06:25 +08:00
vCaesar
fd894c06cb Add more copy bitmap 2017-06-29 22:50:53 +08:00
vCaesar
9b817112a2 Update typestr 2017-06-11 20:26:42 +08:00
vCaesar
74097de793 Update clipboard 2017-06-11 19:07:58 +08:00
vCaesar
861396b054 Add clipboard and TypeStr 2017-06-11 18:47:58 +08:00
vCaesar
a5173b5b54 Update godoc 2017-06-11 13:32:23 +08:00
vCaesar
7f3b43e47d Remove some Donate 2017-06-08 19:29:41 +08:00
vCaesar
a98f122d4c Add more bitmap func 2017-06-06 22:56:48 +08:00
vCaesar
80b2a85534 Add FreeBitmap and Update docs 2017-06-03 22:14:36 +08:00
vCaesar
cc6d6fba62 Add CHANGELOG.md and Update version 2017-05-28 14:05:40 +08:00
vCaesar
c1ea6210aa Cleanup Println 2017-05-20 18:16:14 +08:00
vCaesar
8971a84514 Add arr and Update version 2017-05-12 21:12:06 +08:00
vCaesar
e3ceccfb7a Update godoc 2017-04-29 22:28:47 +08:00
vCaesar
46410b3a2f Update docs 2017-04-23 10:21:04 +08:00
vCaesar
fbaf36442c Update annotation 2017-04-08 22:21:45 +08:00
vCaesar
cede6ce3ee Update docs 2017-04-03 21:37:22 +08:00
vCaesar
a030081a06 Update example 2017-03-24 23:31:17 +08:00
vCaesar
1c51466432 Fix typesetting 2017-03-17 19:49:54 +08:00
vCaesar
6f8e16b42b Fix README.md error 2017-03-14 20:30:54 +08:00
vCaesar
529e382e7b Update Contribution.md 2017-03-14 00:12:49 +08:00
vCaesar
fa8ddca93d Update README.md 2017-03-06 15:49:24 +08:00
vCaesar
6181088d0b Update README.md 2017-03-06 15:43:13 +08:00
vCaesar
fadc99f537 Update docs 2017-03-05 00:19:09 +08:00
vCaesar
c1a0631973 Update docs 2017-03-05 00:15:14 +08:00
vCaesar
1fdc6163fd Update README.md and godoc 2017-03-05 00:04:38 +08:00
vCaesar
26a69a470e Update CONTRIBUTING.md 2017-03-04 20:33:05 +08:00
vCaesar
82c73f9dcf Update README.md 2017-02-28 20:58:16 +08:00
vCaesar
246b1d55c4 Update godoc 2017-02-26 18:18:54 +08:00
vCaesar
918ed142cd Update version 2017-02-25 18:23:08 +08:00
vCaesar
25d38b811c Format docs 2017-02-25 02:40:10 +08:00
vCaesar
554d14f19c Update keys 2017-02-24 20:50:59 +08:00
vCaesar
88313b5a63 Update docs 2017-02-24 20:33:58 +08:00
vCaesar
0c09eb2be5 Format godoc 2017-02-24 20:14:04 +08:00
vCaesar
5eee1f62be Update godoc 2017-02-24 19:55:12 +08:00
vCaesar
0abb45f29a Update README.md 2017-02-18 18:42:04 +08:00
vCaesar
ea0ba70de9 Update md 2017-02-14 14:21:24 +08:00
vCaesar
bad2cb49c1 Update md 2017-02-13 21:14:11 +08:00
vCaesar
85c9fa5946 Update godoc 2017-02-12 19:12:32 +08:00
vCaesar
7336c63b99 Update godoc 2017-02-12 19:10:53 +08:00
vCaesar
e9eed7c494 Update godoc 2017-02-12 19:08:51 +08:00
vCaesar
144899f257 Update godoc 2017-02-11 03:57:55 +08:00
vCaesar
5393f29138 Update explain 2017-02-10 00:19:10 +08:00
vCaesar
85b0b721a0 Update example 2017-02-09 19:04:19 +08:00
vCaesar
d2de9b923c Update md and version 2017-02-08 20:38:31 +08:00
vCaesar
06659511d2 Add GetBHandle 2017-02-06 19:10:10 +08:00
vCaesar
97e20fce9d Update notes 2017-02-06 17:11:33 +08:00
vCaesar
b906d5c045 Update md 2017-02-03 14:14:44 +08:00
vCaesar
ce5433a61c Update ascii 2017-01-20 01:20:23 +08:00
vCaesar
de60d4d88b Update example 2017-01-18 21:13:26 +08:00
vCaesar
85377986eb Update doc 2017-01-18 20:41:39 +08:00
vCaesar
bbc0c8e2a7 Add Getpid 2017-01-18 20:34:35 +08:00
vCaesar
cb6aa1075e Update md 2017-01-17 21:00:10 +08:00
vCaesar
91afdb28e2 Update godoc and md 2017-01-17 18:50:54 +08:00
vCaesar
a57c630374 Update version 2017-01-15 18:50:32 +08:00
vCaesar
18c74d6c02 Update golint 2017-01-15 02:37:49 +08:00
vCaesar
3c6d9b4fd9 Fix linux ShowAlert process 2017-01-14 22:34:45 +08:00
vCaesar
7badcd2016 Update md 2017-01-10 22:28:04 +08:00
vCaesar
f4ee4b0ef0 Update version 2017-01-10 21:22:18 +08:00
vCaesar
a06371f0ec Optimize memory 2017-01-10 18:08:32 +08:00
vCaesar
cb5c53d9cf Update Event 2017-01-10 17:39:35 +08:00
vCaesar
0446df5df0 Update version 2017-01-07 00:24:34 +08:00
vCaesar
d6663e8641 Update example 2017-01-05 20:29:13 +08:00
vCaesar
d5c553b760 Drop c11 to c99 2017-01-05 19:57:03 +08:00
vCaesar
b668f766a0 Add circle 2017-01-05 17:25:52 +08:00
vCaesar
db8f87801a Add MoveClick and Update doc 2017-01-03 18:39:22 +08:00
vCaesar
630bd27291 Update AddEvent() 2017-01-03 16:19:54 +08:00
vCaesar
b209bcd0cc Update sequence #26 2017-01-03 01:54:53 +08:00
vCaesar
cc0d7f76b7 Update sequence 2017-01-02 23:10:31 +08:00
vCaesar
bb213e0dfe Update version 2017-01-02 20:10:30 +08:00
vCaesar
610eae215a Add AddEvent f1-f12 2017-01-02 19:01:10 +08:00
vCaesar
a2cfdeeab6 Add Version 2017-01-01 15:25:31 +08:00
vCaesar
17fda726b0 Add StopEvent 2016-12-30 17:04:50 +08:00
vCaesar
f927b52279 Clean Println and Add return 2016-12-23 01:01:48 +08:00
vCaesar
2395bb3f5a Update KeyToggle Add return 2016-12-23 00:54:08 +08:00
vCaesar
1dc93aab3d Update KeyToggle 2016-12-22 20:34:46 +08:00
vCaesar
0b35c0faa6 Simplify api 2016-12-17 16:53:41 +08:00
vCaesar
96ebcf6920 Simplify api 2016-12-17 16:50:57 +08:00
vCaesar
62a37bb9e2 Simplify api & Add Move 2016-12-17 16:47:03 +08:00
vCaesar
c23bca9eca Add simplify api Click 2016-12-17 15:05:48 +08:00
vCaesar
98898850f1 Add TypeStrDelay and Warning 2016-12-13 00:42:37 +08:00
vCaesar
7e40b96d51 Add SetKeyDelay and Update Doc 2016-12-11 17:14:14 +08:00
vCaesar
97217346dd Update link 2016-12-11 02:41:08 +08:00
vCaesar
75e2be4c33 Update golint 2016-12-11 00:00:07 +08:00
vCaesar
33321b2ade Update golint 2016-12-10 23:31:47 +08:00
vCaesar
d6844e1009 Update golint 2016-12-10 23:14:56 +08:00
vCaesar
0a3df7f68a Add godoc and Update link 2016-12-10 20:07:25 +08:00
vCaesar
e4f8475d3e Drop godoc and other 2016-12-09 23:24:26 +08:00
vCaesar
fcef4cca0e Wtf golint 2016-12-09 22:54:41 +08:00
vCaesar
10267914b2 Update golint 2016-12-09 22:36:36 +08:00
vCaesar
71a903edf2 Update golint 2016-12-09 22:31:01 +08:00
vCaesar
5b3d21640c Add golint 2016-12-09 20:56:56 +08:00
vCaesar
935489e0df Add SetHandle 2016-11-28 20:41:15 +08:00
vCaesar
743aca739d Add window SetActive 2016-11-23 20:40:28 +08:00
vCaesar
6cfbf8e2bf Update KeyTap, Support []string & string 2016-11-14 18:07:54 +08:00
vCaesar
67e8918365 Update KeyToggle & KeyTap 2016-11-13 23:46:33 +08:00
vCaesar
c7fc08adbb Update keyboard 2016-11-13 18:37:41 +08:00
vCaesar
338fc9f2b4 Update Keyboard 2016-11-13 14:47:02 +08:00
vCaesar
4cf12186ab Fix key err 2016-11-13 14:39:48 +08:00
vCaesar
36b4088fef Clear C Type 2016-11-12 23:09:15 +08:00
vCaesar
8d56089f69 Update Screen 2016-11-12 22:45:42 +08:00
vCaesar
a30a5fd1e3 Update Mouse 2016-11-12 22:15:30 +08:00