I have some terminal configuration files that I use for opening special Terminal sessions (i.e., these are files whose names end with the .terminal suffix). I know how to open these special Terminal sessions in Applescript via the do shell script command, but I’m wondering if there is another way to do this in Applescript that doesn’t require me to start a subsidiary shell.
In other words, this is how I’m currently doing this with do shell script:
do shell script "open ~/Library/Application\\ Support/Terminal/special0.terminal"
However, I’d like to do something like this:
tell application "Finder"
-- somehow open the "~/Library/Application Support/Terminal/special0.terminal" file
-- without using "do shell script"
end tell
… or perhaps using Terminal or something else besides Finder.
Is there a way for me to do this?
Thanks in advance.