I am using Keyboard Maestro and within that using applescript for following action:
ssh on IP which was copied from somewhere
tell application "Terminal"
activate
do script "ssh & the clipboard" -- this always opens a new window
end tell
Kindly help me with the solution on how I can use "copied" text within applescript to do ssh, as I dont want to write direct IP within script
ok got the answer
set ipaddress to the clipboard tell application "Terminal"
activate
do script "ssh " & ipaddress & " " -- this always opens a
new window end tell