🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by jacintha_mary Mon, 23 Feb 2009 04:56
Paragraph Style Group in Indesign CS3
#1053
Author: jacintha_mary
Date: Mon, 23 Feb 2009 04:56
11 lines
993 bytes
HI,

I need to apply style for the paragraph which is given in the Style Group. I'm able to take the Paragraph Style Group from the list. But unable to apply styles for Paragraph . The tried the below code. Please tell me where i'm missing?

set applied paragraph style of paragraph style group "Group1" of item p of myparagraph to "p1"

"Group1" is the Paragraph Style Group
"p1" is the Paragraph Style

Thanks,
Jacintha Mary
Re: Paragraph Style Group in Indesign CS3
#1055
Author: Shane_Stanley
Date: Mon, 23 Feb 2009 05:22
10 lines
1403 bytes
I think what you're after is this:

 set theStyle to paragraph style "p1" of paragraph style style group
"Group1" 
  set applied paragraph style of myparagraph to theStyle


-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>
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