Each morning I run an Applescript that does some admin tasks and opens up the standard set of apps I’m going to use for the day. Naturally one of those apps is Tinderbox. The relevant couple of lines of Applescript are:
tell application “Tinderbox 9” to open “Users:paulzahara:Documents:Tinderbox Files:PZ Daily Journal.tbx”
tell application “Tinderbox 9” to close “Untitled.tbx”
The last line is the issue. Tinderbox always opens a new file called “Untitled.tbx”. I haven’t been able to find a setting to turn this off. No worries, I’ll just get Applescript to close the unwanted file. Except nothing happens. I see that I am not including the full path to the “Untitled.tbx” file so I went to expand the path. Except that I’m not sure where an unsaved file lives!
So, to take this back to a Tinderbox question: “What is the path to an unsaved file?”
ps: Thanks for the sample Daily Journal file. It’s been extremely useful for me.