Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.