So i'm creating a workflow in Apple's Automator that uses Python scripts in the shell
This is what each step is doing right now:
1 . I paste a column of names from excel
2 . Organizes them in a list ... e.g. ['a','b','c'] . . . this is where it gets weird
3 . I select a text file on the finder item which is an input in the 2nd python script (#4) but the problem is that I also need the list generated from #2 in my script
4 . This script is supposed to use the list from #2 and the file selected by #3
When I didn't have #3 in there it was working fine because I used the sys.argv1 to get the variable to transfer but i don't know how to skip feeding that into "Ask for Finder Item" and straight into #4
basically i'm having trouble inputing the list from the workflow into the script WHILE selecting a file for another variable so i can have:
my_list = sys.argv[1] #from step 2
my_file = sys.argv[2] #selected from step 3