• 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 : Applescript-users Digest, Vol 2, Issue 708
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : Applescript-users Digest, Vol 2, Issue 708


  • Subject: Re : Applescript-users Digest, Vol 2, Issue 708
  • From: Olivier Ringenbach <email@hidden>
  • Date: Tue, 25 Oct 2005 18:48:49 +0200

Hello,

> I tried to use the ³insertion point 1² that I found in a different script
> that I saw, but I can¹t figure out if it can be used to return a distance,
> and how that could be done.
>
> This is what I have so far:
>
> tell application "InDesign CS"
>     tell front document
>         tell paragraph 1 of selection
>                 set myLoc to insertion point 1 -‹ compiles without error,
> but doesn¹t return a measurement
>                 set myLoc to "7p6" -- This works, of course.
>                 set properties to {rule below:true, rule below left
> indent:myLoc, rule below line weight:0.5}
>             end tell
>     end tell
> end tell

tell application "InDesign CS"
    tell front document
        set myLoc to horizontal offset of insertion point 1 of selection
    end tell
end tell

--
Olivier


 _______________________________________________
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

  • Prev by Date: Re: curl ... file listings...
  • Next by Date: Re: [appscript] looking for feedback
  • Previous by thread: Re: ACL enabling
  • Next by thread: curl equivalence
  • Index(es):
    • Date
    • Thread