Forum Replies Created
-
AuthorPosts
-
emilydorr
MemberOh my. This is like an early Christmas present! It worked. I don't know how to thank you enough. Hope it didn't take up too much of your time. I think I will tell my client they get to see the pesky underlines until the last proof and then I'll run the script on however many pages the book turns into, right now it is looking like she is writing a 800+ page book and she likes her underlines!
Thanks again.
emilydorr
MemberOh my. This is like an early Christmas present! It worked. I don't know how to thank you enough. Hope it didn't take up too much of your time. I think I will tell my client they get to see the pesky underlines until the last proof and then I'll run the script on however many pages the book turns into, right now it is looking like she is writing a 800+ page book and she likes her underlines!
Thanks again.
emilydorr
MemberStill doesn't seem to work for me.
JavaScript Error!
Error Number: 8
Error String: Syntax Error
Then it names where it is save on my computer followed by
Line: 5
var blankStyle = app.activeDocument.characterStyles.item(”NoUnderline”)Offending Text: “
As I am not a script user I don't know how to trouble shoot. I really appreciate all your efforts.
emilydorr
MemberStill doesn't seem to work for me.
JavaScript Error!
Error Number: 8
Error String: Syntax Error
Then it names where it is save on my computer followed by
Line: 5
var blankStyle = app.activeDocument.characterStyles.item(”NoUnderline”)Offending Text: “
As I am not a script user I don't know how to trouble shoot. I really appreciate all your efforts.
emilydorr
MemberI am in CS4. And it didn't make a “NoUnderline” character style.Hummm
The whole document is layed out with Character Styles because the person who typeset in Microsoft Word used all “Normal” text. Does that make since? But had about 7 different formattings applied throughout the whole document. Guess they don't know how to use styles in Word.
I imported the text into InDesign, then did a change font for the fonts I used in my Characters Styles. Then went in and did a “Find/Change” to apply my Character Styles to the whole document. Normally I would use Paragraph Styles and then apply individual Character Styles but because of the Word document formatting the only thing that worked was all Character Styles.
Sorry for the long explanation but I thought it might help troubleshoot the javascript issue.
emilydorr
MemberThank you for helping me. I receive an error when I try to run the script.I am not very familiar with running scripts but have followed your directions to the “T” Again thanks for the help. Maybe I am doing something wrong?
Error Number 30477
Error String: Invalid value for set property
'appliedCharacterStyle.' Expected CharacterStyoe or
String, but received nothing.
Then it refers to where I have the script save followed by
Line:31
Source app.selection.[0].lines[a].character.items(-1).appliedC
haracterStyle = blankStyle;
emilydorr
MemberI am in CS4. And it didn't make a “NoUnderline” character style.Hummm
The whole document is layed out with Character Styles because the person who typeset in Microsoft Word used all “Normal” text. Does that make since? But had about 7 different formattings applied throughout the whole document. Guess they don't know how to use styles in Word.
I imported the text into InDesign, then did a change font for the fonts I used in my Characters Styles. Then went in and did a “Find/Change” to apply my Character Styles to the whole document. Normally I would use Paragraph Styles and then apply individual Character Styles but because of the Word document formatting the only thing that worked was all Character Styles.
Sorry for the long explanation but I thought it might help troubleshoot the javascript issue.
emilydorr
MemberThank you for helping me. I receive an error when I try to run the script.I am not very familiar with running scripts but have followed your directions to the “T” Again thanks for the help. Maybe I am doing something wrong?
Error Number 30477
Error String: Invalid value for set property
'appliedCharacterStyle.' Expected CharacterStyoe or
String, but received nothing.
Then it refers to where I have the script save followed by
Line:31
Source app.selection.[0].lines[a].character.items(-1).appliedC
haracterStyle = blankStyle;
-
AuthorPosts
