Re: do script in Terminal
Re: do script in Terminal
- Subject: Re: do script in Terminal
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 25 Jun 2010 00:23:53 -0400
Since driving a curses-based application seems tantamount to GUI scripting anyway, why not use GUI scripting? "do script" to start the application, then use system events to send the keypresses.
On Thu, Jun 24, 2010 at 9:53 PM, Paul Scott
<email@hidden> wrote:
"do script" in Terminal appears to add a newline at the end of the provided script. This makes it impossible to use "do script" for scripting curses-based applications where each keystroke is significant including newline.
Is there a way to send data *without* a forced newline?
Paul
_______________________________________________
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
--
Mark J. Reed <
email@hidden>
_______________________________________________
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