🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by Vinny_Mannello Fri, 13 Feb 2009 23:23
Graphic Line Properties Apple Script CS3/CS4
#1290
Author: Vinny_Mannello
Date: Fri, 13 Feb 2009 23:23
3 lines
983 bytes
I was wondering if someone could post an applescript snippet for a way to produce a line that was dashed (4pt dash 4pt gap) and was 30% black. Also if anyone knows of a source that has the default properties for the graphic elements in indesign (basically a better indesign scripting dictionary then adobes) please let me know.

Thanks in advance!
Re: Graphic Line Properties Apple Script CS3/CS4
#1291
Author: Shane_Stanley
Date: Sat, 14 Feb 2009 00:53
30 lines
2510 bytes
On 14/2/09 10:23 AM, "Vinny Mannello" <member@adobeforums.com> wrote:

> I was wondering if someone could post an applescript snippet for a way to
> produce a line that was dashed (4pt dash 4pt gap) and was 30% black.
> 
The best place to start is to make such a line manually, then get its
properties and work backwards. This will do what you want, although you'll
probably want to set other properties at the same time:

tell application "Adobe InDesign CS4" tell document 1 make graphic line at
end with properties {geometric bounds:{0, 0, 0, 10}, stroke type:"Dashed",
stroke dash and gap:{4.0, 4.0}, stroke tint:30.0} end tell end tell


> Also if anyone knows of a source that has the default properties for the
> graphic elements in indesign
> 
The properties are defined in the relevant object styles; graphic lines get
the properties set in the object style marked with the Graphics Frame icon.

> (basically a better indesign scripting dictionary then adobes)
> 
If you a want a better view of the object model, get Script Debugger and use
its Explorer feature <http://www.latenightsw.com/>. I wouldn't dream of
scripting without it.


-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
Re: Graphic Line Properties Apple Script CS3/CS4
#1292
Author: Vinny_Mannello
Date: Sat, 14 Feb 2009 01:06
3 lines
769 bytes
Thanks for the heads up, thats excatly the info I was looking for, and script debugger is a very useful tool, thanks there as well!

~Vinny
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