I am using Keyboard Maestro and within that using applescript for following action:
- Copy IP address from anywhere
- Open terminal
- Use copied IP into applescript
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