Пример #1
0
def moveFiles(fileList, name):
    name = _("Move") + " " + name
    job = Components.Task.Job(name)
    task = MoveFileTask(job, name)
    task.openFiles(fileList)
    Components.Task.job_manager.AddJob(job)
Пример #2
0
def copyFiles(fileList, name):
    name = _("Copy") + " " + name
    job = Components.Task.Job(name)
    task = CopyFileTask(job, name)
    task.openFiles(fileList)
    Components.Task.job_manager.AddJob(job)
Пример #3
0
def moveFiles(fileList, name):
	name = _("Move") + " " + name
	job = Components.Task.Job(name)
	task = MoveFileTask(job, name)
	task.openFiles(fileList)
	Components.Task.job_manager.AddJob(job)
Пример #4
0
def copyFiles(fileList, name):
	name = _("Copy") + " " + name
	job = Components.Task.Job(name)
	task = CopyFileTask(job, name)
	task.openFiles(fileList)
	Components.Task.job_manager.AddJob(job)
Пример #5
0
def deleteFiles(fileList, name):
    name = _("Delete") + " " + name
    job = Components.Task.Job(name)
    task = DeleteFolderTask(job, name)
    task.openFiles(fileList)
    Components.Task.job_manager.AddJob(job)
Пример #6
0
def deleteFiles(fileList, name):
	name = _("Delete") + " " + name
	job = Components.Task.Job(name)
	task = DeleteFolderTask(job, name)
	task.openFiles(fileList)
	Components.Task.job_manager.AddJob(job)