Tom Skwara
unread,Mar 11, 2011, 10:30:37 AM3/11/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iLuaBox
A peek at a new feature on the horizon called the keyboard shelf. An
excerpt from iLuaHelp:
_SHELF
A global variable (not a function) that holds a table of string pairs
used to populate the keyboard shelf (iPad only).
The keyboard shelf sits just above the standard on-screen keyboard and
can be customized for quick access to user-defined text. The _SHELF
variable can be modified 'on-the-fly' within a script, but is only
examined after the current script chunk finishes execution. Up to 35
label/text pairs can be defined that include multiple characters and
escape codes.
The default keyboard shelf configuration as stored in extras.lua:
-- Up to 35 label/text pairs in ilua._SHELF table will be
-- used to populate the keyboard shelf (iPad only).
-- The 'tab' label corrsponds to the tab key. Replacement
-- text can include multiple characters and escape codes.
_SHELF = {
{"tab", " "},
{"1", "1"},
{"2", "2"},
{"3", "3"},
{"4", "4"},
{"5", "5"},
{"6", "6"},
{"7", "7"},
{"8", "8"},
{"9", "9"},
{"0", "0"},
{"=", "="},
{"(", "("},
{")", ")"},
{"{", "{"},
{"}", "}"},
{"[", "["},
{"]", "]"},
{"\"", "\""},
{"'", "'"},
{"+", "+"},
{"-", "-"},
{"*", "*"},
{"/", "/"},
{"^", "^"},
{"<", "<"},
{">", ">"},
{"%", "%"},
{"~", "~"},
{":", ":"},
{";", ";"},
{"&", "&"},
{"#", "#"},
{"_", "_"},
{"\\", "\\"}}
Tom Skwara
MobileApp Systems