# Setting shourtcuts keys

**URL:** <https://www.ruby-forum.com/t/setting-shourtcuts-keys/91203>\
**Category:** Rails\
**Created:** [April 5, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/setting-shourtcuts-keys/91203 "2007-04-05T17:12:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edgar\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a183cd/32.png) [@Edgar\_O](https://www.ruby-forum.com/u/Edgar_O)\
**Post date:** [April 5, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/setting-shourtcuts-keys/91203/1 "2007-04-05T17:12:08Z")

</div>

Is there anyway that i could manage, the keys the user press??

I ask because i am doing an invoice system, and i want to make the  
datagrid more friendly. for example I want when the user press key up,  
the cursor go one line up, somethings like that, is that possible???

Regards,

---

<div class="post-metadata">

**Author:** ![Edgar\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a183cd/32.png) [@Edgar\_O](https://www.ruby-forum.com/u/Edgar_O)\
**Post date:** [April 8, 2007, 8:21am UTC](https://www.ruby-forum.com/t/setting-shourtcuts-keys/91203/2 "2007-04-08T08:21:18Z")

</div>

Edgar O. wrote:

> Is there anyway that i could manage, the keys the user press??
> 
> I ask because i am doing an invoice system, and i want to make the  
> datagrid more friendly. for example I want when the user press key up,  
> the cursor go one line up, somethings like that, is that possible???
> 
> Regards,

any answer, or need to be more clear???

---

<div class="post-metadata">

**Author:** ![Edgar\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a183cd/32.png) [@Edgar\_O](https://www.ruby-forum.com/u/Edgar_O)\
**Post date:** [April 8, 2007, 10:09am UTC](https://www.ruby-forum.com/t/setting-shourtcuts-keys/91203/3 "2007-04-08T10:09:05Z")

</div>

Hi Edgar,

There are a lot of Javascripts out there.  
Have a look at:  
[http://www.snwebs.20m.com/scripts/keycode.htm](http://www.snwebs.20m.com/scripts/keycode.htm)

You will finde more at:[404 - Not Found](http://www.hotscripts.com/JavaScript/)  
Scripts\_and\_Programs/Miscellaneous/index.html

Kind regards,  
Simon
