Example #1
0
 def on_custom_script(self, event):
     # Try needed due to wxWidgets not removing/updating shortcuts properly
     try:
         scriptmgrdlg.run_script( self.custom_scripts[event.GetId()] )
     except:
         cjr.show_error_message(
         "Please, restart Conjurer to run this script."
         )
Example #2
0
 def on_custom_tool(self, event):
     scriptmgrdlg.run_script(self.custom_tools[event.GetId()]['index'])
Example #3
0
 def on_custom_tool(self, event):
     scriptmgrdlg.run_script( self.custom_tools[event.GetId()]['index'] )