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
questions/comments? let me know
enjoy,
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;
}
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
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!
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.
Wade_Zimmerman wrote:
I write fiction as a hobby. No I am not concerned about my spelling.
that's the funniest thing you've said in a long time. Perfectly spelled!!
...Is such a thing possible?
can you make a mock up by hand? and post it here? If there's some kind of logic to it, it might be possible to implement.
A very handy device I must say I am for Adobe acquiring it from you.
me too, anytime...how?
North America
Europe, Middle East and Africa
Asia Pacific