def copy_tagid(self, sender, args): tags = '\r\n'.join([x.name for x in self.taglist_lb.SelectedItems]) script.clipboard_copy(tags)
def copy_envvar_value(self, sender, args): """Callback method for copying selected env var value to clipboard""" script.clipboard_copy(self.envvars_lb.SelectedItem.Value)
def copy_filenames(self, sender, args): if self.selected_sheets: filenames = [x.print_filename for x in self.selected_sheets] script.clipboard_copy('\n'.join(filenames))