add first letter navigation to vmenu
This commit is contained in:
25
src/fenrirscreenreader/commands/vmenu-navigation/search_a.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_a.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('a')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_b.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_b.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('b')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_c.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_c.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('c')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_d.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_d.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('d')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_e.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_e.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('e')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_f.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_f.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('f')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_g.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_g.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('g')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_h.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_h.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('h')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_i.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_i.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('i')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_j.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_j.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('j')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_k.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_k.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('k')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_l.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_l.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('l')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_m.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_m.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('m')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_n.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_n.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('n')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_o.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_o.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('o')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_p.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_p.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('p')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_q.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_q.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('q')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_r.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_r.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('r')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_s.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_s.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('s')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_t.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_t.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('t')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_u.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_u.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('u')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_v.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_v.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('v')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_w.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_w.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('a')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_x.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_x.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('x')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_y.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_y.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('y')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
25
src/fenrirscreenreader/commands/vmenu-navigation/search_z.py
Normal file
25
src/fenrirscreenreader/commands/vmenu-navigation/search_z.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return _('search for an menu entry')
|
||||
def run(self):
|
||||
text = self.env['runtime']['vmenuManager'].searchEntry('z')
|
||||
if text != '':
|
||||
self.env['runtime']['outputManager'].presentText(text, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText(_('not found'), soundIcon='ErrorScreen', interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
Reference in New Issue
Block a user