What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)?

Example is adjusting the volume:

sudo osascript -e "set Volume 10"

I'm not asking for applescript.

  • 1
    The osascript in your example is using applescript, so, it's not clear to me what you're asking for. For what it's worth, apple.stackexchange.com/questions/36943/… has a good deal of information on how to use applescript to simulate key presses. – Kent Jan 30 '14 at 2:27
  • I think you missed the last part of my post. Dang it has been long getting back to this P – les May 13 '15 at 6:59

You must log in to answer this question.

Browse other questions tagged .