[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
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

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
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

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
39
S
14
G
2
Posts: 120
Reputation: 3,454

Post » Mon Jul 18, 2016 11:19 pm

put in "plugin" folder...
B
68
S
17
G
2
Posts: 94
Reputation: 4,742

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
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

Post » Sat Sep 10, 2016 4:29 pm

hehehe.... nice :)
B
68
S
17
G
2
Posts: 94
Reputation: 4,742

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
68
S
17
G
2
Posts: 94
Reputation: 4,742

Post » Sat Sep 10, 2016 9:40 pm

@MatheusCastellar

The capx was broken. I will try to make a new one.
B
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

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
108
S
26
G
259
Posts: 4,430
Reputation: 145,679

Post » Sun Sep 11, 2016 4:06 pm

thanks for looking out for me. :)
B
68
S
17
G
2
Posts: 94
Reputation: 4,742

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests