Set first line indent to 0


hi guys!

wondering if there's scipt set first line indent 0 (just affecting selected paragraph)?

in parapraph style i've set first line indent 3 mm, don't want text after header have indent.

i've scanned web solutions found complex scripts, seems limited 1 named paragraph style.

i don't want script limited specific paragraph style, rather general script appliable on different paragraph styles in different documents.

 

i've tried scipts like:

 

tell application "adobe indesign cs5.5"

     set first line indent 0

end tell

 

no success.

 

i'm, you've figured out, new scipting.

 

 

someone?

 

br

henrik

javascript rather applescript:

 

if (app.selection.length && app.selection[0].hasownproperty("baseline")) {     app.selection[0].firstlineindent = 0; } 

 

but... why not make styles based on indented ones first line indent set 0 , apply shortcuts? no overrides way , no need scripts.

 

jeff



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support