Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
'Select from List' from within Python action ?
-
Am I right in thinking that a Select from List interaction can only be achieved as a workflow action ?
(i.e. that I haven't failed to notice an equivalent function in Editorial's Python libraries ?)
thanks,
Rob
-
I believe you're right. If you wanted to use the action and have it populated by options that were generated by a python script, you could have the script append those options to a python list and have those list items joined with a \n into a variable that is passed to the action_out variable to be used in in the Editorial list.
-
Thanks – that's helpful.
The problem is having to sandwich the 'Select from List' between two different Python modules when both populating the list from code and then using its output in further code – having to pass the state of various variables between two modules.
I am doing this mainly with a kind of JSON ping-pong in:
http://www.editorial-workflows.com/workflow/5270117608849408/OZjQ2s3oIyg
which does work, but I wanted to check that I wasn't getting into more complexity than is really needed :-)