Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: CS4 Library Global Changes #54366
    Rocky
    Member

    Uwe,

    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.

    in reply to: CS4 Library Global Changes #51321
    Rocky
    Member

    Uwe,

    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.

    in reply to: CS4 Library Global Changes #54359
    Rocky
    Member

    Uwe,

    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!

    in reply to: CS4 Library Global Changes #51319
    Rocky
    Member

    Uwe,

    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!
    in reply to: CS4 Library Global Changes #54349
    Rocky
    Member

    Uwe,

    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

    in reply to: CS4 Library Global Changes #51318
    Rocky
    Member

    Uwe,

    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

Viewing 6 posts - 1 through 6 (of 6 total)