• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: INDESIGN CS2: Altering a Text Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: INDESIGN CS2: Altering a Text Selection (From: Buzz Hill <email@hidden>)

  • Prev by Date: How to match data in two different text files as fast as possible?
  • Next by Date: Re: How to match data in two different text files as fast as possible?
  • Previous by thread: Re: INDESIGN CS2: Altering a Text Selection
  • Next by thread: Multicast Auto Start Applescript
  • Index(es):
    • Date
    • Thread