[Request] simulate key press

Post your work in progress addons and get feedback

Post » Tue Apr 12, 2016 3:51 pm

@KZR

I found 'keypress' event in official keyboard plugin is to capture 'keydown' event, that's why the firing of 'keypress' event of this plugin will be missed in official keyboard plugin.
Use 'down' and 'up' to fire 'press' and 'release' event of official keyboard plugin.

I also remove 'keypress' option of this action.
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Tue Apr 12, 2016 4:17 pm

@MatheusCastellar

Yes, I add another "action:Simulate keyboard event by keycode". Update the plugin and see this capx
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Sun Jul 17, 2016 11:25 pm

I'm not sure if you have updated the plugin, but i tried it again today and it still give me this error :(:
Image
Image
B
36
S
12
G
2
Posts: 106
Reputation: 3,130

Post » Mon Jul 18, 2016 11:19 pm

put in "plugin" folder...
B
66
S
16
G
2
Posts: 94
Reputation: 4,592

Post » Sat Sep 10, 2016 3:56 am

I added actions to fire touch events, and create a new thread for this plugin.
Now this plugin can fire keyboard and touch events.
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Sat Sep 10, 2016 4:29 pm

hehehe.... nice :)
B
66
S
16
G
2
Posts: 94
Reputation: 4,592

Post » Sat Sep 10, 2016 9:11 pm

rexrainbow wrote:I added actions to fire touch events, and create a new thread for this plugin.
Now this plugin can fire keyboard and touch events.


@rexrainbow
Error in simulate_keyEvent_onHtmlelem.capx :(

Image
B
66
S
16
G
2
Posts: 94
Reputation: 4,592

Post » Sat Sep 10, 2016 9:40 pm

@MatheusCastellar

The capx was broken. I will try to make a new one.
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Sun Sep 11, 2016 1:40 pm

@MatheusCastellar

I am sorry, that capx -- firing keyboard events to iframe is not worked anymore. (perhaps I might not finish it yet)
I found the answer from this post - Is there a way to send keyboard key press to iframe content?
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Sun Sep 11, 2016 4:06 pm

thanks for looking out for me. :)
B
66
S
16
G
2
Posts: 94
Reputation: 4,592

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest