Back

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

Forum Replies Created

Viewing 13 posts - 2,071 through 2,085 (of 6,074 total)
  • Author
    Posts
  • in reply to: Image scripting.. #103148
    David Blatner
    Keymaster

    Ah ha! Mercí! (Or is it mercì?)

    OK, now there is no syntax error, but the script does not move any of my images to a different layer. Should the following move all the images to Layer 2?


    var myLinks = app.activeDocument.links, L = myLinks.length;
    while (L--) if (myLinks[L].parent.parent.parent.constructor.name != "Character" && myLinks[L].parent.parent.itemLayer.name != "Layer 1") myLinks[L].parent.parent.itemLayer = "Layer 2";

    in reply to: How to Make the File Extension Go Away in Captions #103144
    David Blatner
    Keymaster
    in reply to: Image scripting.. #103143
    David Blatner
    Keymaster

    Michel, when you post code here, please use a the code html tag, or else the code get messed up (curly quotes, etc.)

    However, I tried to clean this up and it still does not work for me:

    var myLinks = app.activeDocument.links, L = myLinks.length;
    while ( L– ) if ( myLinks[L].parent.parent.parent.constructor.name != "Character" && myLinks[L].parent.parent.itemLayer.name != "Layer 1" ) myLinks[L].parent.parent.itemLayer = "Layer 1";

    I am getting an error that says: ) does not have a value and the offending text is )

    in reply to: Image scripting.. #103139
    David Blatner
    Keymaster

    Sayed, I’m very happy that we have been able to be helpful to you!

    Michel, do you wish to share your two lines of code?

    in reply to: Buttons for object states in Fixed ePub do not work #103107
    David Blatner
    Keymaster

    Does the button work when you preview it in the Interactive EPUB Preview panel?
    Does it work when you preview in the SWF Preview panel?
    One possibility is to export the document as IDML, then open the IDML file and try exporting from that.

    in reply to: Image scripting.. #103103
    David Blatner
    Keymaster

    There is no way to keep them on one layer, but perhaps there could be a script to move them all to one layer. This script is similar, but it works on buttons: https://in-tools.com/article/scripts-blog/buttons-to-layer-script/

    in reply to: How to append a text var to the page numbers #102967
    David Blatner
    Keymaster

    Kasra, I see your point! Yes, many companies “outlaw” add-ons. Oh well. I’m glad you are finding a good solution! :-)

    in reply to: How to append a text var to the page numbers #102860
    David Blatner
    Keymaster

    Yes, Find/Change is a good solution. If you have a lot of these, you could use the findchangebylist script or the MultiFindChange add-on from automatication.com to do them all at the same time.

    Personally, I think your avoidance of scripts and plug-ins is a little misguided. True, things can change in the future that break the workflow, but the productivity benefit is so great in using external tools that it is often worth the additional management.

    in reply to: Buttons back to last visited page #102859
    David Blatner
    Keymaster

    Acrobat has a concept of “Preview View” (On the Mac, the shortcut is Command-left-arrow to “Go Back”)
    You should be able to attach a javascript to a button that triggers the app.goBack(); script, but I have not tried it.

    in reply to: Mail Merge with QR Codes CC #102718
    David Blatner
    Keymaster

    When you use the “multiple records per page” feature in Data Merge, you need to have just one frame (or one set of frames) that it will repeat over and over. I explain how to use data merge like this in detail in my course at Lynda.com or LinkedIn Learning.

    in reply to: How to loop animation using pdf's #102649
    David Blatner
    Keymaster

    Interesting! Yes, maybe there is a way to do it with the Loop feature in Timing… seems tricky to do because you probably want each object to appear and then disappear. I still think I’d rather convert the PDFs to an animated GIF and run that. :-)

    in reply to: How to loop animation using pdf's #102647
    David Blatner
    Keymaster

    I don’t think there is any way to do this in InDesign. The only looping animations I’ve seen are GIFs:
    https://creativepro.com/animated-gifs-indesign.php
    and
    https://creativepro.com/combining-animated-gifs-with-indesign-animations.php

    in reply to: Remove Custom Stroke Style #102596
    David Blatner
    Keymaster

    Great point, Colleen. I believe those kinds of strokes are different internally, in a way that we cannot see on the surface. For example, they’re not dashes, dots, or stripes. They’re more like those easter egg strokes — like woof, rainbow, or feet.

    Strokes can be assigned as the default whenever you choose one when no objects are selected on the page. I agree that this can be very annoying!

Viewing 13 posts - 2,071 through 2,085 (of 6,074 total)