Color Label Keyboard Shortcut?

Learn / Forums / General InDesign Topics / Color Label Keyboard Shortcut?

Viewing 7 reply threads
  • Author
    Posts
    • #75332
      klipp86
      Member

      Hi all,

      How do I assign a keyboard shortcut to the “Color Label” command? (Right click spread in Pages Panel (or use the fly out menu), select Page Attributes, then Color Label, then Pink or Red or Blue, etc).

      I can’t find this “product area” in the Edit > Keyboard Shortcuts dialog anywhere. Can’t find any helpful hints on the web either. Any help?

      Thanks.

    • #75334
      David Blatner
      Keymaster

      I don’t think you can. Interesting idea. You use color labels that much? I’m sure it would be an easy script.

    • #75336
      klipp86
      Member

      My company produces a lot of catalogs and when the hard copy proofs route through the various departments to make corrections and updates, they want to see just the updated pages printed out again. I usually mark the spreads that have been updated in my working file with a color label so that when I go back to print out the selection of pages that have had edits made to them, I can easily see which ones they are. Make sense?

      Thanks for your reply. I’m not script savvy. Any advice?

    • #75459
      David Blatner
      Keymaster

      Cool idea. But I don’t know any way to do this. You’d have to find a scripter to do it.

    • #84918
      artur ryans
      Member

      That is good, but can you possibly share how you did it and how you came up with the solution. I am eyeing this one [[spam removed]] if I can also get ideas from that.

    • #84920
      Ari Singer
      Member

      Here you have a script for it: Just assign it a keyboard shortcut and you’re ready to go.
      app.activeWindow.activePage.pageColor = UIColors.CUTE_TEAL;

      P.S. When you run the script the current active page gets the color label. I selected at random the color “Cute Teal”, if you prefer a different color just let me know.

      https://creativepro.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post.php

      • #86860
        Einser Pasch
        Member

        Hey Ari S.
        thanks! the script works just fine!
        but how can i apply the color label for the two pages of the spread?
        i have no clue about scripting but i did some research:
        there are scripts that use “activeSpread”. but
        app.layoutWindows[0].activeSpread.pageColor = UIColors.YELLOW;
        produces an error.
        can you help me on that?
        thanks!

    • #86869
      Ari Singer
      Member

      The pageColor attribute works on a single page basis, and a spread consists of two pages. So you have to apply the color to each page individually. Here it is:

      app.activeWindow.activeSpread.pages[0].pageColor = app.activeWindow.activeSpread.pages[1].pageColor = UIColors.CUTE_TEAL;
      
    • #14334187
      Tom Rehbein
      Participant

      What does the script look like if you wanna delete a colour label?

Viewing 7 reply threads
  • You must be logged in to reply to this topic.
>