Re: Changing CAPITAL to Upper And Lower Case
Re: Changing CAPITAL to Upper And Lower Case
- Subject: Re: Changing CAPITAL to Upper And Lower Case
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 12 Jan 2007 16:03:48 -0800
- Thread-topic: Changing CAPITAL to Upper And Lower Case
On 1/12/07 3:41 PM, "Christopher Nebel" <email@hidden> wrote:
> On Jan 12, 2007, at 1:30 PM, Andrew Oliver wrote:
>
>> On Jan 12, 2007, at 12:50 PM, Ripka, Herb wrote:
>>
>>> We have a book where the titles are all CAPITAL letters (and in
>>> style sheet "One").
>>>
>>> Is there a way in AppleScript where the titles (in style sheet
>>> "One") can be changed to Upper And Lower Case instead?
>>
>> Care to share the application your book is written in?
>>
>> Since AppleScript drives the application the solution is going to
>> vary greatly depending on the app in question.
>
> That is, the process of getting and setting the titles is going to
> vary greatly. For instance, are the titles easily fetchable
> properties, or do you have to analyze the text to figure out where
> they are? The process of turning a string into title case (yes,
> that's the technical term) the text is probably going to be
> independent of the application, however, unless your application
> happens to have a command to do it.
For example, if you've written your book in Word 2004, you can set the case
to 'title word' (i.e. Title Case, or to 'title sentence', i.e. Sentence
case) for any text range, and if you've used Word's Headings styles for your
titles and subtitles, you can easily get hold of just the ones (levels) you
want and change them. I would guess (without having them myself) that
scriptable publishing layout applications such as Quark and InDesign would
have something similar.
--
Paul Berkowitz
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden