Key('ctrl+cmd+x'),
 'speak from cursor location':
 Key('ctrl+cmd+r'),
 'announce cursor location':
 lambda m: (
     ctrl.key_press('cmd', ctrl=True, cmd=True, down=True),
     press('a'),
     press('l'),
     ctrl.key_press('cmd', ctrl=True, cmd=True, up=True),
 ),
 'announce formatting at cursor location':
 lambda m: (
     ctrl.key_press('cmd', ctrl=True, cmd=True, down=True),
     press('a'),
     press('f'),
     ctrl.ke8y_press('cmd', ctrl=True, cmd=True, up=True),
 ),
 'speak the table column and row header':
 lambda m: (
     ctrl.key_press('shift', ctrl=True, cmd=True, shift=True, down=True),
     press('t'),
     press('h'),
     ctrl.key_press('shift', ctrl=True, cmd=True, shift=True, up=True),
 ),
 'speak the table cell location':
 lambda m: (
     ctrl.key_press('shift', ctrl=True, cmd=True, shift=True, down=True),
     press('t'),
     press('n'),
     ctrl.key_press('shift', ctrl=True, cmd=True, shift=True, up=True),
 ),
Esempio n. 2
0
 Key("ctrl+cmd+x"),
 "speak from cursor location":
 Key("ctrl+cmd+r"),
 "announce cursor location":
 lambda m: (
     ctrl.key_press("cmd", ctrl=True, cmd=True, down=True),
     press("a"),
     press("l"),
     ctrl.key_press("cmd", ctrl=True, cmd=True, up=True),
 ),
 "announce formatting at cursor location":
 lambda m: (
     ctrl.key_press("cmd", ctrl=True, cmd=True, down=True),
     press("a"),
     press("f"),
     ctrl.ke8y_press("cmd", ctrl=True, cmd=True, up=True),
 ),
 "speak the table column and row header":
 lambda m: (
     ctrl.key_press("shift", ctrl=True, cmd=True, shift=True, down=True),
     press("t"),
     press("h"),
     ctrl.key_press("shift", ctrl=True, cmd=True, shift=True, up=True),
 ),
 "speak the table cell location":
 lambda m: (
     ctrl.key_press("shift", ctrl=True, cmd=True, shift=True, down=True),
     press("t"),
     press("n"),
     ctrl.key_press("shift", ctrl=True, cmd=True, shift=True, up=True),
 ),