First off, I’m a rank newbie to AppleScript. I’m trying to write a simple AppleScript that will launch Terminal and then type some info into the window and then run it. Here’s what I have so far:
tell application “Terminal”
write to window "./ppsrvr "
Terminal launches OK, but I cannot figure out how to make the script write to the window. It will also need a “return” command in the window.