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."
         )
Exemple #2
0
 def on_custom_tool(self, event):
     scriptmgrdlg.run_script(self.custom_tools[event.GetId()]['index'])
Exemple #3
0
 def on_custom_tool(self, event):
     scriptmgrdlg.run_script( self.custom_tools[event.GetId()]['index'] )