Re: INDESIGN CS2: Altering a Text Selection
Re: INDESIGN CS2: Altering a Text Selection
- Subject: Re: INDESIGN CS2: Altering a Text Selection
- From: Rick Gordon <email@hidden>
- Date: Thu, 10 Aug 2006 11:55:05 -0700
That does not work in InDesign. It was the first thing I tried.
Thanks
------------------
On 8/10/06 at 2:41 PM -0400, Eric C Saunders wrote in a message entitled
"Re: INDESIGN CS2: Altering a Text Selection":
>Rick Gordon wrote on 08/10/2006 at 02:30:27 PM:
>
>> I am confused on how to accomplish the task of truncating (or
>> otherwise altering) the current text selection. For instance, take
>> the example where I would want to determine if the last character in
>> the active selection is a return character, and recalculate the
>> selection so that the return character is no longer part of the selection).
>
>> The following code snippet does not work, nor does any variant I've
>> tried specifically extracting references or object references. Can
>> someone please point me in the right direction?
>
>> tell document 1
>> set selection to text from character 1 of selection to character -2
>> of selection
>> end tell
>> --
>
>I do not have Indesign to test, but this works in Quark:
>
>set selection to (characters 1 thru -2 of selection)
>
>Eric
>________________________________________________________________________
>This email has been scanned for all viruses by the MessageLabs SkyScan
>service._______________________________________________________________
>
>This electronic message contains information from MeadWestvaco
>Corporation or subsidiary companies, which may be confidential,
>privileged or otherwise protected from disclosure. The
>information is intended to be used solely by the recipient(s)
>named. If you are not an intended recipient, be aware that
>any review, disclosure, copying, distribution or use of this
>transmission or its contents is prohibited. If you have
>received this transmission in error, please notify MeadWestvaco
>immediately at email@hidden.
>_______________________________________________________________________
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
EMAIL: email@hidden
PHONE: 415-663-8652
WWW: http://www.shelterpub.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden