Re : Applescript-users Digest, Vol 2, Issue 708
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