• 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: kai <email@hidden>
  • Date: Thu, 10 Aug 2006 20:04:32 +0100


On 10 Aug 2006, at 19:30, Rick Gordon wrote:

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'm only guessing too, Rick. But since this works in one or two other apps, you might want to give it a shot:


-------------
set selection to text from character 1 to character -2 of selection
-------------

---
kai


_______________________________________________ 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
  • Follow-Ups:
    • Re: INDESIGN CS2: Altering a Text Selection
      • From: Rick Gordon <email@hidden>
    • Re: INDESIGN CS2: Altering a Text Selection
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >INDESIGN CS2: Altering a Text Selection (From: Rick Gordon <email@hidden>)

  • Prev by Date: Re: INDESIGN CS2: Altering a Text Selection
  • Next by Date: Re: rsync and backup
  • Previous by thread: Re: INDESIGN CS2: Altering a Text Selection
  • Next by thread: Re: INDESIGN CS2: Altering a Text Selection
  • Index(es):
    • Date
    • Thread