I’ve been working on an AppleScript that opens up Terminal and runs some commands. I can open terminal but I don’t know which command to use to type the terminal command. ie:
tell app “Terminal”
“unknown command” “cd /users/ianholm/documents”
So if someone could tell me that command, that would be great.
I can’t find the way. The problem is that to access my proxy server I have to give some terminal commands (to activate Stunnel) and it’s quite annoying. So I’m trying to find out a way to do it automatically on launch. Tried with automator (find the executable file and opening it) but it doesn’t work. So I’m trying with a script.
The commands are: