Send Terminal window crtl-c
Send Terminal window crtl-c
- Subject: Send Terminal window crtl-c
- From: Gnarlodious <email@hidden>
- Date: Mon, 4 Sep 2006 07:51:18 -0600
How would one send an open Terminal window a ctrl-c to stop a process?
For example:
tell application "Terminal"
do script "top" in front window
delay 10
do script "^c" in front window
end tell
In this example, the ctrl-c doesn't quit the top window.
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden