Terminal not responding to 'do script'
Terminal not responding to 'do script'
- Subject: Terminal not responding to 'do script'
- From: Michael Grant <email@hidden>
- Date: Thu, 26 Jun 2003 13:57:20 -0500
This works:
tell application "Terminal" to activate
but neither of these does:
tell application "Terminal" to do script "ls"
tell application "Terminal" to do script "ls" in window 1
Using the deprecated "with command" parameter, as in:
tell application "Terminal" to do script with command "ls"
works but always opens a new window, even if I add the parameter "in window
1"
I thought this was pretty basic, but apparently something's screwed up
either in my system or in my head.
Any ideas or observations?
Thanks,
Michael
--
"The best way to predict the future is to create it."
- Peter Drucker
_______________________________________________
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.