• 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
Re: How to set green color in Terminal.app to a specific color code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set green color in Terminal.app to a specific color code?


  • Subject: Re: How to set green color in Terminal.app to a specific color code?
  • From: Peng Yu <email@hidden>
  • Date: Mon, 26 Feb 2018 19:02:20 -0600

On Mon, Feb 26, 2018 at 6:42 PM, Takaaki Naganoya <email@hidden> wrote:
> (1)Communicate via mailing lists, there are “unhappy word wrapping”. After
> deleting some return characters, my script runs.
>
> (2)If you try other people’s sample AppleScript, you have to use Script
> Editor, first. It is more safer way. Terminal and osascript is more
> complicated and harder way. Nobody write AppleScript by thinking of osascript
> & Terminal.

Do you have any good tutorials about learning basics about
AppleScript? The manual from apple is not very helpful for beginners
to get started quickly?

> (3)I wrote whole script on my blog. You can get whole script only by clicking
> “★Click Here to Open This Script” link without a loss. Whole script will be
> transfered to Script Editor. Run script by Control-R on your Script Editor,
> you will get the result.
>
>
> http://piyocast.com/as/archives/2420

When I copied your script on the above webpage and typed ctrl-R in
Script Editor, I got this message.

"""
Syntax Error

Expected expression but found "set".
"""

Then it hightlights the line starting with this.

–set ansiColTable to {{colName:"Black", colVal:{0, 0, 0} ...

Should this line be deleted or it should be uncommented?

The same problem also occurs here. How should I fix it?

–set background color of window 1 to colList

Thanks.

--
Regards,
Peng
 _______________________________________________
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

  • Follow-Ups:
    • Re: How to set green color in Terminal.app to a specific color code?
      • From: Jean-Christophe Helary <email@hidden>
    • Re: How to set green color in Terminal.app to a specific color code?
      • From: Takaaki Naganoya <email@hidden>
References: 
 >How to set green color in Terminal.app to a specific color code? (From: Peng Yu <email@hidden>)
 >Re: How to set green color in Terminal.app to a specific color code? (From: Takaaki Naganoya <email@hidden>)
 >Re: How to set green color in Terminal.app to a specific color code? (From: Peng Yu <email@hidden>)
 >Re: How to set green color in Terminal.app to a specific color code? (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Re: How to set green color in Terminal.app to a specific color code?
  • Next by Date: Re: How to set green color in Terminal.app to a specific color code?
  • Previous by thread: Re: How to set green color in Terminal.app to a specific color code?
  • Next by thread: Re: How to set green color in Terminal.app to a specific color code?
  • Index(es):
    • Date
    • Thread