Re: INDESIGN CS2: Altering a Text Selection
Re: INDESIGN CS2: Altering a Text Selection
- Subject: Re: INDESIGN CS2: Altering a Text Selection
- From: Shane Stanley <email@hidden>
- Date: Sat, 12 Aug 2006 16:49:55 +1000
- Thread-topic: INDESIGN CS2: Altering a Text Selection
On 12/8/06 10:16 AM, "Buzz Hill" <email@hidden> wrote:
> Running Kai's script ...
>
> tell application "Adobe InDesign CS2"
> tell document 1
> set selection to text from character 1
> of selection to character -2
> of selection
> end tell
> end tell
>
> ... generates the following error:
Except that's not Kai's script.
> I believe that the selection is a property of the
> application not of the document.
It's actually a property of both.
> This works perfectly for me.
>
> tell application "Adobe InDesign CS2"
> set selection to text from character 1 to character
> -2 of selection
> end tell
Now *that* is Kai's script...
--
Shane Stanley <email@hidden>
_______________________________________________
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