🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
6 messages
6 total messages Started by E_G_R Fri, 13 Mar 2009 23:05
AS CS4 - Sort order of paragraph styles panel?
#550
Author: E_G_R
Date: Fri, 13 Mar 2009 23:05
9 lines
990 bytes
Hi:

The sort order of the paragraph styles panel does not seem to default to alphabetical or remain that way after Sort by Name has been selected. (Which is insane, imho.) Is it possible to script it? The only properties I can see are:

{parent:application "Adobe InDesign CS4", index:4, name:"Paragraph Styles", object reference:panel "Paragraph Styles" of application "Adobe InDesign CS4", visible:true}

Any ideas are appreciated,

egr
Re: AS CS4 - Sort order of paragraph styles panel?
#551
Author: Dave_Saunders
Date: Fri, 13 Mar 2009 23:15
3 lines
787 bytes
In the object model (as viewed in ESTK), paragraph styles now have a move method enabling a script to sort them in the panel. I expect it is exposed to AppleScript.

Dave
Re: AS CS4 - Sort order of paragraph styles panel?
#552
Author: Shane_Stanley
Date: Fri, 13 Mar 2009 23:22
8 lines
1437 bytes
tell application "Adobe InDesign CS4"
    invoke menu action "Sort by Name"
end tell


-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Re: AS CS4 - Sort order of paragraph styles panel?
#553
Author: Dave_Saunders
Date: Fri, 13 Mar 2009 23:31
5 lines
656 bytes
Ah yes, Shane has found the easier way!

Thanks,

Dave
Re: AS CS4 - Sort order of paragraph styles panel?
#554
Author: Shane_Stanley
Date: Fri, 13 Mar 2009 23:37
10 lines
1603 bytes
On 14/3/09 10:31 AM, "Dave Saunders" <member@adobeforums.com> wrote:

> Ah yes, Shane has found the easier way!

It might be easier, but it doesn't give as much control, especially if there
are groups involved. But sorting things in situ always makes my head hurt...

-- 
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Re: AS CS4 - Sort order of paragraph styles panel?
#555
Author: E_G_R
Date: Fri, 13 Mar 2009 23:48
5 lines
676 bytes
Ah, I'll have to look at that whole "invoke menu action" area!

Thanks Shane!

egr
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