How to pass variable to Applescript
I am trying to pass a variable from a list of servers to the end of a ssh login command.
I want the "server" to be the one that was picked from a list. The variable is being picked up correctly, I just can't get it to display after the "ssh root@".
Any help would be appreciated.
Code:
tell application "Terminal"
activate
set currentTab to do script {"ssh root@"server";"}
end tell