Update bookmark_1.py
This commit is contained in:
parent
215f44f9c2
commit
a1b7d80451
@ -18,11 +18,8 @@ class command():
|
|||||||
return 'read Bookmark ' + self.ID
|
return 'read Bookmark ' + self.ID
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
currApp = ''
|
currApp = self.environment['runtime']['applicationManager'].getCurrentApplication()
|
||||||
try:
|
|
||||||
currApp = str(self.env['screenData']['newApplication'][0])
|
|
||||||
except:
|
|
||||||
currApp = 'DEFAULT'
|
|
||||||
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
if not self.env['commandBuffer']['bookMarks'][self.ID]:
|
||||||
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not found.", interrupt=True)
|
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not found.", interrupt=True)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user