• 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
Terminal not responding to 'do script'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Corrupt Finder Dictionary/Preference?
  • Next by Date: Re: applescript-users digest, Vol 3 #1784 - 18 msgs
  • Previous by thread: Corrupt Finder Dictionary/Preference?
  • Next by thread: Re: applescript-users digest, Vol 3 #1784 - 18 msgs
  • Index(es):
    • Date
    • Thread