Update set_bookmark_1.py
This commit is contained in:
parent
89abf00a27
commit
8e445bfa86
@ -21,12 +21,7 @@ class command():
|
|||||||
if not self.env['commandBuffer']['Marks']['1']:
|
if not self.env['commandBuffer']['Marks']['1']:
|
||||||
self.env['runtime']['outputManager'].presentText("No Mark found", interrupt=True)
|
self.env['runtime']['outputManager'].presentText("No Mark found", interrupt=True)
|
||||||
return
|
return
|
||||||
currApp = ''
|
currApp = self.environment['runtime']['applicationManager'].getCurrentApplication()
|
||||||
try:
|
|
||||||
currApp = str(self.env['screenData']['newApplication'][0])
|
|
||||||
except Exception as e:
|
|
||||||
print(e)
|
|
||||||
currApp = 'DEFAULT'
|
|
||||||
self.env['commandBuffer']['bookMarks'][self.ID][currApp] = {}
|
self.env['commandBuffer']['bookMarks'][self.ID][currApp] = {}
|
||||||
|
|
||||||
self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1'] = self.env['commandBuffer']['Marks']['1'].copy()
|
self.env['commandBuffer']['bookMarks'][self.ID][currApp]['1'] = self.env['commandBuffer']['Marks']['1'].copy()
|
||||||
|
Loading…
Reference in New Issue
Block a user