auto_click 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -2
- data/CHANGELOG +6 -0
- data/Gemfile +0 -1
- data/README.rdoc +9 -11
- data/lib/auto_click/input_structure.rb +2 -2
- data/lib/auto_click/version.rb +1 -1
- data/lib/auto_click/virtual_key.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0be5f4d186b5d45728b0990a7137bf8e3eee422de81c2b0b4d9d26d9d22ebdf9
|
4
|
+
data.tar.gz: ac2002bdf768013f339c8a74d9315994659084f1c951016911908d76ba1d9d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24cfdf7e6b60e86d41b270593bef4dd6a0c4bc08d3b8c407d07301c0c51518770915eecd453244e5a64461056888f12ed0cff36d1f8f83025c2370a81522faac
|
7
|
+
data.tar.gz: 12771b1b1e3acc1f69b5e19d136abee87c17236571c9237a9269c7eff2cfde494bd2cbcb102326fefe5d36efae853e4a8cc20c6fe3f62f9ffd7d84222396830b
|
data/.gitignore
CHANGED
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -6,7 +6,7 @@ Smulating mouse click, cursor movement and keystrokes
|
|
6
6
|
|
7
7
|
To install auto_click:
|
8
8
|
|
9
|
-
gem install auto_click
|
9
|
+
gem install auto_click
|
10
10
|
|
11
11
|
== Basic Usage
|
12
12
|
|
@@ -34,7 +34,7 @@ To scroll down (backward) 5 wheel steps:
|
|
34
34
|
|
35
35
|
To get the current cursor position
|
36
36
|
|
37
|
-
cursor_position
|
37
|
+
cursor_position
|
38
38
|
|
39
39
|
To drag the icon on (50,50) to (200,300):
|
40
40
|
|
@@ -199,6 +199,12 @@ There are some methods which are not discussed here. Please see the following Me
|
|
199
199
|
== Change log
|
200
200
|
(for full change log please refer to the CHANGELOG file in the repository)
|
201
201
|
|
202
|
+
- 0.4.0 Fix the 64bit bug and Fixnum! bug
|
203
|
+
|
204
|
+
- 0.3.0 Update to use DL Library
|
205
|
+
|
206
|
+
- 0.2.0 bump verison
|
207
|
+
|
202
208
|
- 0.1.15 Add more general mouse control methods: mouse_down(button_name), mouse_up(button_name)
|
203
209
|
|
204
210
|
- 0.1.14 Add middle_click and double_click
|
@@ -214,20 +220,12 @@ There are some methods which are not discussed here. Please see the following Me
|
|
214
220
|
- 0.1.7 Primitive implementation of key_stroke. Need good api before putting it into method list
|
215
221
|
|
216
222
|
- 0.1.4 Implement left_drag and right_drag
|
217
|
-
|
218
|
-
== Tested with
|
219
|
-
|
220
|
-
- Ruby 1.9.1-p430, Windows 7
|
221
|
-
|
222
|
-
- Ruby 1.9.2-p0, Windows 7
|
223
|
-
|
224
|
-
- Ruby 1.9.2-p136, Windows 7
|
225
223
|
|
226
224
|
== License
|
227
225
|
|
228
226
|
MIT license
|
229
227
|
|
230
|
-
Copyright (C) 2010-
|
228
|
+
Copyright (C) 2010-2019 by Chungsang Tom Lam
|
231
229
|
|
232
230
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
233
231
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -7,7 +7,7 @@ module InputStructure
|
|
7
7
|
mi[2] = dy
|
8
8
|
mi[3] = mouse_data
|
9
9
|
mi[4] = dw_flags
|
10
|
-
mi.pack('
|
10
|
+
mi.pack('QLLLLQQ')
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.keyboard_input(wVk,dw_flags)
|
@@ -15,7 +15,7 @@ module InputStructure
|
|
15
15
|
ki[0] = 1
|
16
16
|
ki[1] = wVk
|
17
17
|
ki[2] = dw_flags
|
18
|
-
ki.pack('
|
18
|
+
ki.pack('QLLLLQQ')
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|
data/lib/auto_click/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_click
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- erinata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "Provide several Ruby methods for simulating mouse click, cursor movement
|
14
14
|
and keystrokes in Windows. \n This gem use DL library and SendInput
|
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 2.
|
57
|
+
rubygems_version: 2.7.7
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: Smulating mouse click, cursor movement and keystrokes
|