Re: How to set green color in Terminal.app to a specific color code?
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: Takaaki Naganoya <email@hidden>
- Date: Tue, 27 Feb 2018 10:28:26 +0900
Your Script Editor’s OSA language setting may be changed to JXA (_javascript_ for Automation) or other OSA languages.
Select “AppleScript” from OSA popup menu in Script Editor.
Hmm… you seems you want the tutorial of Script Editor. Other people may have such a information. My ebooks are good I think but written in Japanese :-)
At first , you’d better to read “AppleScript Help” from Script Editor’s Help menu. It is not so bad to read.
2018/02/27 10:02、Peng Yu <email@hidden>のメール:
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