Great Addon.. But I Need Help at Coding.. Rated 5 out of 5 stars

this is a great addon..

unfortunately i need help about coding..

i found a few code samples on this page..
https://developer.mozilla.org/en/XUL/Toolbars/Custom_toolbar_button/Code_Samples

but i need something different..

i want a button that simulates keyboard keys..

for example a button that simulates the F11 key..

hows the code to do this ever gotta be?.. thx for help..

This review is for a previous version of the add-on (0.0.5.5).