Mime-Version: |
1.0 (Apple Message framework v1078) |
Sender: |
|
Date: |
Tue, 1 Jun 2010 20:00:25 +0900 |
Reply-To: |
|
Subject: |
|
From: |
|
Content-Transfer-Encoding: |
quoted-printable |
In-Reply-To: |
|
Content-Type: |
text/plain; charset=us-ascii |
Comments: |
|
Parts/Attachments: |
|
|
On Jun 1, 2010, at 1:01 PM, Nobumi Iyanaga wrote:
> I think I have to use some "foreach" loop:
>
> ForEach $range in reversed $ranges
> ...
>
> and
>
> text.replaceInRange $range, $prepared_text
>
> or
>
> text.insertAtIndex $range.bound, $prepared_text
>
> But how should I apply the wanted font to the replacing text or text to be inserted?
Surely there would be other ways to do so but my usual procedure is
$variable = Cast to String 'something' # unnecessary if 'something' is already plain text
Push Target Text $variable
Set Font Name 'Hiragino Mincho Pro'
Pop Target Text
Kino
|
|
|