• 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
Re: Sending Control-T to Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending Control-T to Terminal


  • Subject: Re: Sending Control-T to Terminal
  • From: bill fancher <email@hidden>
  • Date: Wed, 25 Sep 2002 11:40:28 -0700

On Wednesday, September 25, 2002, at 10:36 AM, Jeffrey Berman wrote:

On Wed, 25 Sep 2002, Helmut Fuchs <email@hidden> wrote:

At 6:02 Uhr -0500 25.09.2002, Jeffrey Berman wrote:
I am sending a Control-T sequence to a terminal window with the following:

tell application "Terminal"
do script (ASCII character 20) in window 1
end tell

This triggers the expected response but also includes a line feed that does
not occur if I type Control-T from the keyboard in the Terminal
application.

Is there a way to send the Control-T sequence from the script without also
triggering a line feed?

-Jeffrey Berman

Does the lack of a response to this question mean there is no way to
suppress the line feed when sending a control-key sequence to Terminal?
No. It simply means that nobody knows or has cared about doing this

Actually, I care about doing this. In any case, thank you for taking the
time to respond. I hope someone on the list can suggest a solution.

No solution that I can see, but I'm curious as to why you're trying to script this. I'm not saying there's no good reason to do it, just that I can't come up with one. If you can provide more info on what you're trying to accomplish, without divulging trade secrets, maybe someone could suggest an alternative approach.

--
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Sending Control-T to Terminal (From: Jeffrey Berman <email@hidden>)

  • Prev by Date: iPhoto scripts - never mind
  • Next by Date: Re: text to speech volume
  • Previous by thread: Re: Sending Control-T to Terminal
  • Next by thread: Re: Sending Control-T to Terminal
  • Index(es):
    • Date
    • Thread