Forum Replies Created
-
AuthorPosts
-
Rocky
MemberUwe,
Will give it a try.
One thing I noticed as I cycled through my library using my variation of your first script is that the library got very “fat” meaning its size increased alot!
Is there a way to take the “air” out of a library, sort of like compressing a database?
Just wondering, can't find anything on the web about compressing ID libraries.
Rocky
MemberUwe,
Will give it a try.
One thing I noticed as I cycled through my library using my variation of your first script is that the library got very “fat” meaning its size increased alot!
Is there a way to take the “air” out of a library, sort of like compressing a database?
Just wondering, can't find anything on the web about compressing ID libraries.
Rocky
MemberUwe,
Did some tinkering of my own on your script. After answering your questions I realized there might be a problem with more than one paragraph style in the individual assets. Based on that, I thought maybe changing your line 22 to this would work:
d.textFrames.item(0).paragraphs[m].appliedFont = app.fonts.item(“Times LT Std”);
I am not really interested in preserving existing paragraph styles, or creating new ones for that matter, this is an old library that has been mangled for years but wanted to migrate the fonts to OpenType.After making the change (and of course inserting my library name into line 11: BINGO IT WORKED PERFECTLY!Excellent!!! Did not have to even indicate fontStyle = “Bold”; in the code and all converted well.Thank you again! Happy New Year!Rocky
MemberUwe,
Did some tinkering of my own on your script. After answering your questions I realized there might be a problem with more than one paragraph style in the individual assets. Based on that, I thought maybe changing your line 22 to this would work:
d.textFrames.item(0).paragraphs[m].appliedFont = app.fonts.item(“Times LT Std”);
I am not really interested in preserving existing paragraph styles, or creating new ones for that matter, this is an old library that has been mangled for years but wanted to migrate the fonts to OpenType.After making the change (and of course inserting my library name into line 11: BINGO IT WORKED PERFECTLY!Excellent!!! Did not have to even indicate fontStyle = “Bold”; in the code and all converted well.Thank you again! Happy New Year!Rocky
MemberUwe,
Thank you for this solution.
In answer to your questions:
1. Are all assets in your library are of the type “text”? YES
2. Are there paragraph or character styles applied to the text? YES, more than one paragraph style is applied but each one use Times Bold (postscript font), the only font used in everyone of the library assets
3. Is there formatting without styles? NO
4. Is there more than one text frame per asset? NO
Rocky
MemberUwe,
Thank you for this solution.
In answer to your questions:
1. Are all assets in your library are of the type “text”? YES
2. Are there paragraph or character styles applied to the text? YES, more than one paragraph style is applied but each one use Times Bold (postscript font), the only font used in everyone of the library assets
3. Is there formatting without styles? NO
4. Is there more than one text frame per asset? NO
-
AuthorPosts
