[Optimoz] Help: How to emulate keypress for a mouse gesture
hello World
world.helloworld at gmail.com
Tue Nov 7 21:38:20 PST 2006
Hi,
First of all, a bundle of thanks for developing such a wonderful extension
as Mouse Gestures. It is very helpful in browsing and soon becomes a second
nature.
Now I was looking at the options, I wanted to add a custom gesture but could
not understand how to put it in javascript. I was looking at the source code
of many gestures at gesture exchange but couldn't find a clue.
What i wanted to know is how to emulate a sequence of keypress in javascript
code. For example I am using an extension 'WebDeveloper' and say i want to
hide images on a page. Now the keyboard sequence for this is ALT+T+W+I+M
(Alt+T for Tools, W for WebDeveloper, I for Images and M for Hide)
Is there a way to define this sequence of keypress (ALT+T+W+...) in
javascript so that i can attach it to a custom gesture.
And sorry if this question sounds stupid to you. I have programming
experience in other languages, but not in javascript, although now i an
interested in it mainly due to mouse gestures
Regards
RJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/optimoz/attachments/20061108/b1f2d9d8/attachment.html
More information about the Optimoz
mailing list