r/applescript • u/hwjl • Jul 18 '21
Specific amount of new folders with date and extension number
Hi, I'm trying to create an automation or script to use with the the following workflow:
- Ask how many folders to create (e.g. "3")
- Ask what date to assign them (e.g. "2021-01-01")
- Create those folders with the given date and a two digit sequential extension number (output would be: "2021-01-01 - 01", "2021-01-01 - 02", and "2021-01-01 - 03")
I need to use this workflow a lot for work, and it seems like it should be quite easy to make, but I've been searching everywhere on google and reddit and can't seem to find anything close that I could use. Any help appreciated!
Thanks!
2
u/copperdomebodha Jul 19 '21
1
u/CaptureJuan Jul 18 '21
I made something similar for capture one - only advice I have is “mk dir” + shell scripts is the best way… but you could have Applescript pipe in the $ variables
1
u/ChristoferK Jul 18 '21
How would you like to trigger the script ?
1
u/sargonian Jul 19 '21
This should get you started:
(edit: formating)