コード例 #1
0
 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')
コード例 #2
0
    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)
コード例 #3
0
    def run(self):
    	commandName = readMe_model.windowPluginName(self)

    	sublime.set_clipboard(commandName)
    	sublime.status_message("in clipboard: "+commandName)