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