I'm a complete rookie at AppleScript. Now, having said that, here goes. I asked about writing a script over in Mac OS X Software and Synotic got me started. My SETI CLI program is named "setiathome". It's in a folder called "seti" inside "DistributedComputing" in "Applications". Here's what I've come up with:
tell application "Terminal"
activate
do script with command "cd /Applications/DistributedComputing/seti"
do script with command "./setiathome"
end tell
When I run the script, a Terminal opens and the cd command is run, but then another window opens for the ./setiathome command. I want them both to run in the same Terminal window, one after the other. Anybody know what I'm doing wrong?