def run(self): pluginName = readMe_model.windowPluginName(self) pluginNameNoSpace = pluginName.replace('_', ' ') commandLine = '{"caption": "My: '+pluginNameNoSpace+'", "command": "'+pluginName+'"},' sublime.status_message("in clipboard"+commandLine) sublime.set_clipboard(commandLine) self.window.run_command('commands_file')
def run(self): commandName = readMe_model.windowPluginName(self) result = "window.run_command('{0}')".format(commandName) sublime.set_clipboard(result) sublime.status_message("in clipboard: "+result)
def run(self): commandName = readMe_model.windowPluginName(self) sublime.set_clipboard(commandName) sublime.status_message("in clipboard: "+commandName)