Re: Applescript in the terminal (fwd)
Re: Applescript in the terminal (fwd)
- Subject: Re: Applescript in the terminal (fwd)
- From: Steve Thompson <email@hidden>
- Date: Thu, 18 Apr 2013 19:51:36 +0100
23:23: syntax error: Expected end of line but found end of script. (-2741)
That's because it's seeing the quotes as the end of the command - you need to escape them like so:
osascript -e "tell application \"System Events\" to keystroke \"k\""
Steve |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden