special keycodes
[1/3] from: D:Weyand:gmx at: 24-Nov-2005 12:37
Hi all,
I am trying to use some special keycodes in my scripts.
See code example below.
view layout [
text "test"
key keycode [up] [print "up"] ; up-keycode = "^[[A"
key #"^M" [print "Enter"]
key keycode ["^[[5~"] [print "PageUP"] ; doesn´t work :-(
]
There are useable shortcuts (aliases) for the cursor keys (up, down, left ,
right) in VID, but how do I use other special keycodes eg. for PageUp
("^[[5~") or PageDown ("^[[6~")?
Does anybody know how to realise that?
Thanks for your help and advise.
Regards,
Dirk
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
[2/3] from: gabriele::colellachiara::com at: 24-Nov-2005 12:45
Hi Dirk,
On Thursday, November 24, 2005, 12:37:40 PM, you wrote:
DW> Does anybody know how to realise that?
view layout [box feel [engage: func [f a e] [switch a [up [focus f] key [print mold e/key]]]]]
Then click on the box and type the keys you want to see the
keycode of.
Regards,
Gabriele.
--
Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/
[3/3] from: D::Weyand::gmx::de at: 24-Nov-2005 12:54
Hi Gabriele,
thanks a lot :-)
> view layout [box feel [engage: func [f a e] [switch a [up [focus f] key
[print mold e/key]]]]]
Regards,
Dirk
--
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl