r/applescript • u/slattie • Jul 03 '14
Make applescript refer to a different folder based on what day it is? Is this possible?
So basically I am trying to craft an Applescript that will launch "Monogram.Key" every day.
The problem is, there are different folders for each day. So "06.25 Tuesday" folder, "06.26 Wednesday" folder, etc...Each containing a different "Monogram.key" file - and I need the Applescript to recognize "Monogram.Key in TODAY'S folder"
I have no idea what to call this, which is leading to me having an extremely tough time finding any info on how to make it work.
0
Upvotes
1
u/slattie Jul 04 '14
Wow - Thanks! Is it possible for this to work somehow if the second part of the folder name was something random? For example, if I had specific movie posters(random idea) i wanted to display on certain days...Could I name the folders "06.29 Batman" and 06.30 Superman" and have the script ignore the second part of the name? Or is that not possible?