🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by Miguel_Sanchez Tue, 31 Mar 2009 15:21
How to apply a style then a script
#186
Author: Miguel_Sanchez
Date: Tue, 31 Mar 2009 15:21
1 lines
636 bytes
is there a form to apply a paragraph style and a script within the script or with a shortcut key?
Re: How to apply a style then a script
#187
Author: Dave_Saunders
Date: Tue, 31 Mar 2009 15:26
11 lines
943 bytes
Miguel,

You can certainly run a script with a paragraph selected and have that script apply a paragraph style. And, you could assign a keyboard shortcut to said script.

For example:

app.selection[0].appliedParagraphStyle = "MyStyle";

although it probably would be wise to check that the selection is of a suitable nature.

Dave
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