Thread View: adobe.scripting.indesign
4 messages
4 total messages
Started by Jeremy_Bowman
Wed, 18 Feb 2009 09:43
[CS3, CS4 JS] Start/end of stroke
Author: Jeremy_Bowman
Date: Wed, 18 Feb 2009 09:43
Date: Wed, 18 Feb 2009 09:43
1 lines
695 bytes
695 bytes
Before I waste any more time on this, is it not possible to use scripting to set "Start" and "End" of stroke? (I'm trying to put arrowheads on graphic lines.)
Re: [CS3, CS4 JS] Start/end of stroke
Author: jongware
Date: Wed, 18 Feb 2009 09:55
Date: Wed, 18 Feb 2009 09:55
3 lines
1482 bytes
1482 bytes
A quick search in my own reference data for 'arrowhead' shows CS4 has an enumeration ArrowHead, which can be applied as properties to Button.leftLineEnd, Button.rightLineEnd, ChangeObjectPreference.leftLineEnd, ChangeObjectPreference.rightLineEnd, FindObjectPreference.leftLineEnd, FindObjectPreference.rightLineEnd, FormField.leftLineEnd, FormField.rightLineEnd, GraphicLine.leftLineEnd, GraphicLine.rightLineEnd, Group.leftLineEnd, Group.rightLineEnd, ObjectStyle.leftLineEnd, ObjectStyle.rightLineEnd, Oval.leftLineEnd, Oval.rightLineEnd, PageItem.leftLineEnd, PageItem.rightLineEnd, PageItemDefault.leftLineEnd, PageItemDefault.rightLineEnd, Polygon.leftLineEnd, Polygon.rightLineEnd, Rectangle.leftLineEnd, Rectangle.rightLineEnd, TextFrame.leftLineEnd and TextFrame.rightLineEnd. Sounds like it is possible. Perhaps you confused "Stroke" (which is not an object) for "GraphicLine" (which is).
Re: [CS3, CS4 JS] Start/end of stroke
Author: Jeremy_Bowman
Date: Wed, 18 Feb 2009 10:20
Date: Wed, 18 Feb 2009 10:20
1 lines
669 bytes
669 bytes
That's it -- perfect! Thank you so much, I was about to throw in the towel -- Jeremy
Re: [CS3, CS4 JS] Start/end of stroke
Author: jongware
Date: Wed, 18 Feb 2009 12:57
Date: Wed, 18 Feb 2009 12:57
2 lines
950 bytes
950 bytes
My current reference of choice is JS CS4 Help for Windows <http://www.jongware.com/binaries/idcs4js_chm.zip>, the CHM (Windows Help format) version of my ESTK2-to-HTML files. It opens very fast, has all hyperlinks of the original ESTK2 files plus my added set of "relations" between objects, and has a Free Text Search. Me, I cannot do anymore without.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads