franco
Apr 20, 2017 - 20:31
Is it possible to get a list with the names of my workflows? How?
Is it possible to get a list with the names of my workflows? How?
import os, editor, json
with open(os.path.join(editor.get_workflows_path(), 'Commands.edcmd'), 'r') as f:
workflow_infos = json.load(f)
workflow_titles = [w['title'] for w in workflow_infos]
print '\n'.join(workflow_titles)
@omz thank you very much!