Skip navigation
Currently Being Moderated

Introducing: Insert Page Numbers v 2

May 29, 2012 12:58 PM

Tags: #script #js #page_numbering #jsx #carloscanto

Hi Everyone, back by popular demand, here's version 2. It now has options for inserting Date, Time, Full Name, and Document Name.

 

tip: you don't have to click on the "insert" buttons, you can type directly in the input box, for example, type:

Page *page* of *pages* to get Page 1 of 3

insertPageNumbersv2.png

 

download

 

questions/comments? let me know

 

enjoy,

CarlosCanto

 
Replies
  • Currently Being Moderated
    May 29, 2012 1:34 PM   in reply to CarlosCanto

    Thank you, Carlos!

     
    |
    Mark as:
  • Mathias17
    437 posts
    Feb 20, 2012
    Currently Being Moderated
    May 29, 2012 1:35 PM   in reply to CarlosCanto

    Great Cronos, Father of Olympia, we beseach thy favor. Your scripts befall us. And we prostrate our own pitiful forms before thee!

     

     

     

    (thanks, homie)

     
    |
    Mark as:
  • Currently Being Moderated
    May 29, 2012 11:05 PM   in reply to CarlosCanto

    Snow Leopard:

     

    mTools - Insert Page Numbers v 2.png

    Thanks, Carlos Cronos.

     
    |
    Mark as:
  • Currently Being Moderated
    May 30, 2012 8:44 AM   in reply to CarlosCanto

    Yeah, I know; I just can't work with those pesky round buttons!

     
    |
    Mark as:
  • Currently Being Moderated
    May 30, 2012 11:11 AM   in reply to CarlosCanto

    As always nice job Carlos, last time I needed to do page numbering of Illustrator files I used Acrobat but it wasn't fun there and it increased the pdf size a lot just for keeping the added page numbers. This looks much better.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 10:43 AM   in reply to CarlosCanto

    Hey Carlos I made a change to the time function to display in 12-hour format hope that is alright, and I wanted to post it in case others would like to use it as well.

     

    function gettime() {

              var time = new(Date);

              var hours = time.getHours();

     

              if(hours > 11){

                        ampm = "PM";

              } else {

                        ampm = "AM";

              }

     

                  if(hours > 12){

                      hours = hours - 12;

              }

     

              var minutes = time.getMinutes();

              if (minutes < 10){

                        minutes = "0" + minutes

              }

     

              var curtime = hours + ":" + minutes + " " + ampm;

              return curtime;

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 8, 2012 10:59 PM   in reply to CarlosCanto

    Carlos,

     

    Your Page Numbering Script is PHENOMINAL!!!

     

    It works flawlessly in CS6.

     

    Question: How can one alter the font style, weight, size, color, etc of the page numbering text prior to it being populated into the artboards?

     

    Would also be beneficial to have the dates appear in different formats, examples:

     

    July 9, 2012

     

    07.09.2012

     

    07/09/2012

     

    7/9/2012

     

    7/9/12

     

    2012.07.09

     

    Thank you for taking the time to create this.

     

    -Tory

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 14, 2012 9:33 AM   in reply to CarlosCanto

    It would be really useful for large multi-artboard docs if you could set the font inside the script. Is it possible to pull it from Styles?

     

    Just encountered a glitch in version2:

     

    script window wouldn't close on "OK." Had to force quit. Mac OSX.7.3/Illustrator CS5.1

     

    Thanks for the amazing script. Saved me so much time!

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 20, 2012 4:58 PM   in reply to CarlosCanto

    Ah. OK. Thanks!

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 20, 2012 9:23 PM   in reply to CarlosCanto

    Esc. to close is the thing to always try before force quit.

     

    I like the feature where you can put the time date and page number in one shot.

     

    Thanks for the script.

     

    But have a request probably not doable.

     

    I write fiction as a hobby. No I am not concerned about my spelling.

     

    So I might work and a section and then putit aside for a while then resume it would be good to be able create sections and chapters with dates applied the to sections or chapters but no the the whole document!

     

    Is such a thing possible?

     

    A very handy device I must say I am for Adobe acquiring it from you.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (2)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points