| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi, Secondly, assuming that using terminal.app is needed, your entire script can be compressed to: tell application "Terminal" to do script "command to run" That's it. It will automatically launch terminal.app if it's not running, and will automatically start a new shell to run the command in. You have to go our of your way (e.g. use 'in window x') if you want a command to run in an existing window, so why make more work for yourself? Andrew :) On Jul 27, 2006, at 8:58 AM, Andrei Tchijov wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden This email sent to email@hidden
| References: | |
| >Script to run a command in new Terminal window works un-reliably. (From: Andrei Tchijov <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.