Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'AppleScript support for Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript support for Terminal
Authored by: LouieNet on Mar 29, '03 03:54:02PM
mblakele wrote:
Look through Terminal's AppleScript dictionary - there's a lot of interesting functionality.
Just how functional is it all? The color stuff seems to only partially work.

Theoretically, this script below should make everything white for the top most window, but it doesn't. (No, I wouldn't normally want everthing the same color. I'm just illustrating the point that I think AppleScript support in Terminal is buggy.)

set testColor to "Snow"
tell window 1 of application "Terminal"
  set cursor color to testColor -- cursor color for the window
  set background color to testColor -- background color for the window
  set normal text color to testColor -- normal text color for the window
  set bold text color to testColor -- bold text color for the window
end tell
Does anyone want to verify my results?

--- Louie

---
G4 cube, 1152M RAM, OS X Server 10.2.4

[ Reply to This | # ]