Page 1 of 1

Creating a project template

PostPosted: Sat Jun 18, 2011 6:00 am
by Mindplay
I couldn't find this anywhere, but I hope it's possible with Hazel :)
I would like to monitor my Projects folder so that whenever I want to start a new one I just have to create a new folder with the ".project" extension, like "New Project.project" and:

1- Create a predefined folder structure inside of it (4IO, Assets, Links, Documentation, ... );
2- Create subfolders for the Assets directory;
3- Create a Read.me text file inside the main project directory;
4- Rename the folder "New Project.project" to "New Project".

Any hints on how to do that, please?

Would be nice to be able to do something like this: http://codecanyon.net/item/structurer-pro/300801

Re: Creating a project template

PostPosted: Mon Jun 20, 2011 3:05 pm
by Mr_Noodle
I think you'd need to use a script to do this. While Hazel can create subfolders, it does so while also moving the matching file/folder into it. Plus, Hazel can't create empty files.

Re: Creating a project template

PostPosted: Mon Jun 20, 2011 3:17 pm
by Mindplay
Thank you Mr. Noodle,
I realize now that this sort of things might go a bit beyond Hazel's scope, even if it would be a nice extension to investigate, as when it come to automating tasks, Hazel has no competition.
I'm really not confident in scripting and stuff, but if I ever come with such a solution I'll be happy to share it on this forum.