• 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: Multiple commands to a single terminal window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple commands to a single terminal window


  • Subject: Re: Multiple commands to a single terminal window
  • From: Matt Comeione <email@hidden>
  • Date: Thu, 16 Jan 2003 20:58:57 -0800

Is there any way to specify the window like this in os 10.1.5?

> On Thursday, Jan 16, 2003, at 12:24 America/New_York, Matt Comeione
> wrote:
>
>> I've been trying to send commands to a specific terminal session
>> without any
>> luck. When running "do script with command "ls" in first (or front)
>> window
>> I receive a syntax error "Can't get "ls" in front window. Access not
>> allowed". I am only using this command to test interaction between
>> AppleScript and the Terminal.app in order to clarify interactions.
>> The end
>> goal is to create an AppleScript Studio front end to Csound. I would
>> prefer
>> that all interactions with the user interface be directed to the same
>> terminal window, and to exit that particular session on quitting the
>> application. Any suggestions on how to proceed?
>
>
> With AS 1.9.1 in OS X 10.2.3, try this -
>
> tell application "Terminal"
> activate
> do script "ls;cd /users; ls -la" in window 1
> end tell
>
>
> "with command" is no longer needed.
>
> John
> _______________________________________________
> 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.

--
matt comeione
email@hidden
http://home.earthlink.net/~comeione
_______________________________________________
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.

  • Follow-Ups:
    • Re: Multiple commands to a single terminal window
      • From: John Stewart <email@hidden>
References: 
 >Re: Multiple commands to a single terminal window (From: John Stewart <email@hidden>)

  • Prev by Date: Re: Input for Upcoming Book (Long)
  • Next by Date: Re: Mail.app - Delete mailbox does not work?
  • Previous by thread: Re: Multiple commands to a single terminal window
  • Next by thread: Re: Multiple commands to a single terminal window
  • Index(es):
    • Date
    • Thread