• 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
osascript not getting Terminal contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

osascript not getting Terminal contents


  • Subject: osascript not getting Terminal contents
  • From: "Ian Purvis" <email@hidden>
  • Date: Fri, 4 Jul 2008 13:52:48 +0200

I've written a small script to get the contents of the current Terminal tab:

tell application "Terminal"
       return the contents of the selected tab of its front window
end tell

This works fine when testing with Script Editor, but when I run the
command using the osascript tool, I don't get the right output. Has
anybody else experienced this problem?

Thanks,
Ian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Finder Network File Copy Timeout
  • Next by Date: InDesign CS3 | afterOpen event listener issue
  • Previous by thread: Re: set understanding to (get explanation)
  • Next by thread: InDesign CS3 | afterOpen event listener issue
  • Index(es):
    • Date
    • Thread