add initial set/read/clear bookmark commands
This commit is contained in:
@ -69,9 +69,9 @@ class commandManager():
|
||||
if len(unLoadScript) == 0:
|
||||
oldScript = 'DEFAULT'
|
||||
else:
|
||||
oldScript = unLoadScript[0].upper()
|
||||
oldScript = unLoadScript[0]
|
||||
elif unLoadScript:
|
||||
oldScript = str(unLoadScript).upper()
|
||||
oldScript = str(unLoadScript)
|
||||
if oldScript == '':
|
||||
oldScript == 'DEFAULT'
|
||||
if self.commandExists(oldScript, trigger):
|
||||
@ -87,9 +87,9 @@ class commandManager():
|
||||
if len(loadScript) == 0:
|
||||
newScript = 'DEFAULT'
|
||||
else:
|
||||
newScript = loadScript[0].upper()
|
||||
newScript = loadScript[0]
|
||||
elif unLoadScript:
|
||||
newScript = str(loadScript).upper()
|
||||
newScript = str(loadScript)
|
||||
if newScript == '':
|
||||
newScript == 'DEFAULT'
|
||||
if self.commandExists(newScript, trigger):
|
||||
|
@ -16,14 +16,15 @@ commandBuffer = {
|
||||
'genericListSelection': 0,
|
||||
'clipboard':[],
|
||||
'currClipboard': 0,
|
||||
'Marks':{'1':None, '2':None}
|
||||
'Marks':{'1':None, '2':None},
|
||||
'bookMarks':{},
|
||||
}
|
||||
|
||||
# used by the commandManager
|
||||
commandInfo = {
|
||||
'currCommand': '',
|
||||
'lastCommandExecutionTime': time.time(),
|
||||
'lastCommandRequestTime': time.time()
|
||||
'lastCommandRequestTime': time.time(),
|
||||
}
|
||||
|
||||
# used by the commandManager
|
||||
|
Reference in New Issue
Block a user