Yes and I'm so thankful for all of you. You gave me a lot of great ideas I wasn't even thinking about.
I'll try to answer all questions.
This is my work folder:
'/Users/xxxxx/Library/Mobile Documents/com~apple~CloudDocs/DaZ'
In there is all the stuff I need on a daily basis. My daily plan, my weekly plan, my list of students, attention list, homework list, list for emergencies, list of other teachers I work with or I have to give information to, important recent files with laws and stuff I use as reference.
One of those files I change on a weekly basis automatically with Hazel. Hazel makes a copy of the file, renames the copy with the actual school week and archives the old one into my Johnny Decimal folder system.
These are the rules:
I'm using an easy naming pattern. On the Sunday before the first week I create the first file. Hazel will rename it on a Sunday later with "Tagesplan SW 1+1"
So there always is only one file with "Tagesplan SW X" in the folder. I'm looking for a rule that looks for a file in that specific folder that begins with "Tagesplan" and opens it by Macro.
Yes, it is always the same folder.
No it is the only file with Tagesplan in its name.
Ok. I try to be more specific. I open my Macbook Air,
I open Finder if it isn't open yet,
I choose my work folder in Finder, it's the folder '/Users/xxxxx/Library/Mobile Documents/com~apple~CloudDocs/DaZ',
I look for the only file in the folder with "Tagesplan" in its name.
I doubleclick it to open it in Numbers.
Yes. It is the only one with Tagesplan in it, the other files are put into Archive every Sunday by Hazel.
No.
No.
No. I have some other files and folders in it. But just one with Tagesplan in its name.
Yes, you're right, it shouldn't matter. I bought Hazel in 2011 or so? And I'm having a ton of rules. Much later, in 2020 I bought KM and I decided to let Hazel do the file stuff and KM everything else. If I start to mix this up I'm afraid this will end in chaos.
It's just one. I figured out how to open files that use the same filename. KM has an "open file" action.
I thought it would be easier and KM has some action that says "open filename" and I could define it with placeholders, like open file with filename "Tagesplan*". But that's not possible I guess.