15 lines
501 B
Python
Raw Normal View History

2016-07-08 13:26:31 +02:00
#!/bin/python
class command():
def __init__(self):
pass
def run(self, environment):
2016-07-08 18:33:32 +02:00
print('fire')
#print(environment['screenData']['newContentText'])i
print(environment['screenData']['newCursor']['x'])
environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['x']-1])
2016-07-08 14:29:35 +02:00
def setCallback(self, callback):
2016-07-08 13:26:31 +02:00
pass
def shutdown(self):
pass