• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Send Terminal window crtl-c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Send Terminal window crtl-c
      • From: Björn Lundin <email@hidden>
    • Re: Send Terminal window crtl-c
      • From: Philip Aker <email@hidden>
    • Re: Send Terminal window crtl-c
      • From: "Steven D. Majewski" <email@hidden>
  • Prev by Date: Re: How to add new property list item into a property list file.
  • Next by Date: Re: Send Terminal window crtl-c
  • Previous by thread: Re: Unwrapping mail
  • Next by thread: Re: Send Terminal window crtl-c
  • Index(es):
    • Date
    • Thread