• 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: Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal


  • Subject: Re: Terminal
  • From: Philip Aker <email@hidden>
  • Date: Tue, 23 Oct 2007 06:15:01 -0700

On 2007-22-10, at 19:07, Kristian Spriggs wrote:

When writtong a script with "tells" to get terminal to run scripts how do inget It to execute the command all in the same shell.
Ex
Tell application "Terminal"
Activate
Do script "1234"
Do script "5678"
End tell

When aomething like this is executed it is done with each script in a different she'll not all in the same shell window. Any ideas?
K Spriggs

Hi Kristian,

You'll want to use the AppleScript-Users list for questions like this <http://lists.apple.com/mailman/listinfo/applescript-users>.

tell application "Terminal"
do script "cd ~/Desktop;./1.sh" in window 1
end tell


Philip Aker
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Terminal (From: Kristian Spriggs <email@hidden>)

  • Prev by Date: Re: Link error for mach_absolute_time()
  • Next by Date: Re: Terminal
  • Previous by thread: Re: Terminal
  • Next by thread: Re: Terminal
  • Index(es):
    • Date
    • Thread