I have cobbled together an Automator script(?) / macro to create the standard set of folders I set up when I start a new project / job.
I also get it to open a new Mailbox in Mail.app for the new project / job in my current “Matters” mailbox in Mail.app. (The new Mailbox is a sub Mailbox in the “Matters” mailbox of my work account.
I would like the name of the new Mailbox to be Matters/fileName where “fileName” is the variable I enter at the start of the script / macro being the name of the new project.
Is this something that is feasible? The script/macro just creates a new Mailbox called Matters/fileName. (For some reason, it also adds an extraneous folder “007 Motions” in “008 Documents”.
Any help or direction where to find the instructions for reusing a variable from Automator into an AppleScript would be much appreciated please.
Ideally, the new mailbox would just be “fileName” without the Matters/ prepend. However, it doesn’t seem like anyone on the Internet has been able to achieve this. Also, it doesn’t seem to be possible to automate renaming the new Mailbox. Even manually selecting the new Mailbox and renaming doesn’t change it.