Inserting Filename into Header/Footer

Hi everyone,
I'm looking for a way to enter the filename (without the file extension) into the header of my document.  From the research I've been doing it seems the only way to do this would be to write some sort of javascript, or pay for a 3rd party plug-in with a ton of features I'll never need or use.  You would think Adobe would have made this pretty simple to do, it seems I've seen a lot of people asking for it for various reasons.
Is there a simple way to do it?  Or am I totally out of luck.  I was hoping to be able to do it for batch processing, but I think my options are limited, as it seems the only way might be to write a javascript and insert that into the batch processing process.
Thanks.

Yeah I'm looking for a way to do it in batch automaticaly.  I could do it manually but I have potentialy thousands of documents.
I don't know how to write javascript so would there be an easy way of creating a script?

Similar Messages

  • No longer able to insert filename into a document in the new pages

    Does anyone know if the ability to insert the filename into the document has been eliminated or if we just have to get to it another way? Used to be able to go to INSERT>FILENAME but that seems to have disappeared.
    Thanks
    AJ

    It does cause problems in a number of circumstances.
    In this forum alone, there are several threads with many users who used Setup Assistant or Migration Assistant to transfer their stuff, ended up with lots of duplicate apps because of it, and had great difficulty finding and deleting the duplicates.
    There have also been folks whose apps did't get updated, and Adobe apps that wouldn't run at all.
    Again, it depends on the apps and circumstances.

  • How to insert Group into Report Footer or have two Groups in same level

    Hi,
    I am wondering whether it is possible to have two indepent groups---they are at the same level, in one report.
    I tried insert a group into Footer section or just insert two unnested groups in Group Section, but seems undoable.
    Thank you for your help!

    My suggestion will work.  The basic layout would be:
    G1Ha - printed when grouping field = 1  (your "Group header #1" above)
    G1Hb - printed when grouping field = 2  (your "Group Header #2 above)
    Da  - printed when grouping field = 1 (your "AccountNumber1 Account Name1" under group header 1)
    Db - printed when grouping field = 2 (your "Subreport for AccountNumber1 under group header 2)
    G1Fa - printed when grouping field = 1 (your "Group Footer #1 above)
    G1Fb - printed when grouping field = 2 (your "Group Footer #2 above).
    Since the grouping field is the primary grouping, the order that the formats will display is:
    G1Ha
    Da
    Da
    Da
    G1Fa
    G1Hb
    Db
    Db
    Db
    G1Fb
    matching your example perfectly.
    HTH,
    Carl

  • Insert Filename into IPTC Title metadata

    Good Morning,
    I am wondering if there is a way to insert the filename of an image into the IPTC title metada.
    Below is an example of our file name system.
    (ex. YYMMDD-M-TI822-001)
    The only part that changes is the 3 digit number at the end.
    How would I go about writing a script to have Bridge automatically do it or is there one already writen that I can download and use?
    Thank you for your help.

    Change:
    md.Title = thumb.name;
    To:
    md.Title = decodeURI(thumb.name).replace(/\.[^\.]+$/, '');

  • Inserting code into head of document

    Hi all,
    It seems that devforums.macromedia.com no longer exists or at
    least I can't connect to it. I have built some easy commands that
    insert code blocks before and made them into extensions but this
    time I am going to need to write code into the head of the document
    much like doing the "jumpMenu" would. I cannot find the command
    that will do this and I have even tried to pick apart the
    javascript and find where it does this for the actual "jumpMenu" to
    see how it is done but cant.
    Can anyone point me to a good resource or tell me the
    functions that can do this? Thanks in advance.
    Buddy

    Hi,
    sorry to bother you guys after such a long time but i've been looking for the right way to do this for a long time! I'm developing an extension that writes a css style to the head of users page. How exactly would I do this (I write the style into a variable first right?!) and than where goes my variable in your example code? and why does that code have to be placed into the applyCommand() function?
    Thanks a lot, appreciate the help!
    Peet

  • Inserting images into header

    In the previous version of Pages, I could have an image in the header.
    This can be important because it can serve as a kind of letterhead fucntion. 
    It appears that in the new version of Pages that I have just downloaded, it is no longer possible.
    This is very disappointing.  Surely people must want to have images in headers loads and loads of times.  How come such a simple, expected function has been removed?

    Same problem here. Totally screwed up my letterhead.  I may have found a "fix," though.  I happened to have the image that I was using in the header saved as a separate PDF, but I think it should work for image files.  I opened the image in Preview, copied it, then pasted it into the body of the document.  Then I resized it and dragged it up to the header and it landed there with no problem.  I found, however, that once I dropped the image into the header it couldn't be moved.  It appears that you have one shot to get it right (otherwise you'll have to undo and try again).  In other words, I couldn't resize it easily once it was in the header.  It took some trial and error, but I got it to work.  But it really shouldn't be this difficult and we shouldn't have to be finding work-arounds for things that should be as simple as this.

  • How to print filename as header/footer for lots of PDF?

    I need to print a lot of PDF files that came from suppliers in order to file paper copies.   It would help immensely if I can print (whether from Preview, Adobe or even something I must buy) in such a manner that the filename always appears on the printed copy.   We're talking about a lever arch file, so going through them individually to create a new version of the PDF with the actual filename appearing in the PDF image is not really an option.
    I'm a little surprised that there isn't such an option in Preview (or Adobe for that matter).
    Would be much appreciated, thanks

    Hi,
    From what I understand of SAPScript, it's next to impossible to dynamically draw lines in the MAIN window. I guess this also applies to grey backgrounds since you'd need to define the exact position of a box.
    Better use Smartforms or Adobe forms.
    If you find out how to achieve this, I'm interested to know how you do this :-)
    Good luck!
    Best regards,
    Zhou

  • Programmtically insert text into header of panelWindow?

    Hi Experts,
    Is it possible to replace the content of a panelWindow's header with anything other than another image?
    for example with html-formatted text?
    I'm creating a M$-Ribbon like widget and trying to use panelWindows as the backbone for the menu-bar popup.
    The header contains the title of each sub-menu-bar, hence my question... (btw, if anyone has a better way of doing
    this - do suggest :)
    many thanks in advance,
    p.s.: I could just get rid of the header all together and just add panels in a row but then I'd lose the close-button
    functionality...

    User,
    You'd be better off posting this in the 11g forum
    JDeveloper and OC4J 11g Technology Preview

  • Is it possible to insert a header/footer into a pages A5 size document?

    I'm trying to insert a header and/or a footer in a A5 sizes pages document. In the A4 version it's there automatically, but in this A5 one it's not and it's greyed out in the Insert drop down menu. What am I doing wrong? Thanks

    There is no Menu > Insert > Header/Footer
    You get Headers/Footers in:
    Inspector > Document > Document > Document Margins > check Header/Footer
    Peter

  • Is there a way to automatically insert the filename in the footer of a spreadsheet using iWork's numbers 3.2?

    Is there a way to automatically insert the filename of a spreadsheet into the footer when using iworks numbers 3.2?  iworks 09 had this feature and I can't find this feature in the new version of numbers.

    Hi rhyolite,
    In Numbers 3.x, The Print View and Layout View have gone (for now at least). Page Headers and Footers can only be reached under Menu > File > Print... to open Print Preview. Hover the cursor to reveal the Page Header and Footer fields.
    The only inserts that I can get to work in Print Preview are Page Number, Page Count and Date & Time. Filename is no longer in the Insert menu.
    Regards,
    Ian.

  • Inserting current pathname and filename into Pages documents?????

    Pages help explicitly says you can put "filenames" and "pathnames" into formatted text fields just as you can put in page numbers and the date. It does NOT tell you how to do this!!! What do I type so that my current pathname appears in pages? Or the current filename of my document?? I am trying to create a template so that filename, pathname, date, and number of pages always appears in the header.

    Well, it is possible to automatically insert the document's filename into the header as I routinely do it in (dare I say) Microsoft Word and Microsoft Excel. I write many documents long and short. For each of them I start with the same template, one that includes the filename and the date "last saved" in the header.
    Those who have an ironclad hierarchy where every file is unambiguously filed into one folder might easily be able to retrieve every file. For me, it is very useful to know the filename of the document I am searching for (as it is on my hardcopy) and to know that it is "sept-mon-rpt-final" and not "sept-mon-rpt-mikes-edits". As my example suggests, the greatest utility of this is for version control.
    I do not want to type my filename into every draft document, I want them to insert themselves in the header in the same manner that Pages inserts the current date. This information, filename and pathname, is in the Mac system. Indeed, there is a reference to it in the Pages documentation.
    In Pages'08 Help - the page titled: "Working with Document Parts" under "using Headers and Footers" it says, "Add headers and footers to give your documents page-by-page identity by showing the date and time, page number, or filename and pathname."
    When you click on the link that says "Using Headers and Footers" you are taken to that page, where it says, "you can put your own text or graphics in a header or footer, and you can use formatted text fields. Formatted text fields allow you to insert text that is automatically updated. For example, inserting the date field shows the current date whenever you open the document. Similarly, page number fields keep track of page numbers as you add or delete pages."
    After this you hit a dead end.

  • Inserting filename and page numbers into multiple PDF files?

    Have since seen this thread, BUT still interested in the syntax of the code
    to insert filename and page # into multiple files:
    http://forums.adobe.com/thread/951925?tstart=0
    Good Evening (GMT!)
    I have approx 100 PDFs with one or two pages in each, they are English translations
    of Russian language test certificates and the formatting/feel of the originals is lost in
    the translations. The only real link between the two sources is the "_RUS" and "_ENG"
    filename suffixes and the common leading filenames otherwise. Thus I need to maintain
    a record of the filename in any page I print off, should there be a need to refer back to
    the original if the translation is open to artistic licence.
    I have a script (below) that happily adds a page x/y and filename into the active file,
    what I would like is to be able to do this insertion into multiple files as defined by a
    portfolio or a selection via a select files dialogue box
    I am quite out of my depth now as my past skirmishes with JavaScript have set
    cookies and tweaked a few other browser doodads in webauthoring
    Any help most appreciated on this one...
    Kind Regards
    Dr B
    Southampton
    UK
    NB the filename inserted may be corrupted as a result of my last tweakings
    will sort that one out ASAP....
    ================================
    // SetRemoveFooter
    // Modified as marked
    // Menu item generation
    app.addSubMenu({ cName: "Footer",cUser: "Set/Remove Complex Footer", cParent: "File", nPos: 20 });
    app.addMenuItem({ cName: "Set Filename", cParent: "Footer", cExec: "SetFooter(1)"});
    app.addMenuItem({ cName: " -> Set Date .... centered", cParent: "Footer", cExec: "SetFooter(2)"});
    app.addMenuItem({ cName: " -> Set Date .... right", cParent: "Footer", cExec: "SetFooter(3)"});
    //add page x of y
    app.addMenuItem({ cName: "Set Page ", cParent: "Footer", cExec: "SetFooter(4)"});
    app.addMenuItem({ cName: "Set Both", cParent: "Footer", cExec: "SetFooter(5)"});
    app.addMenuItem({ cName: "-------------------------------", cParent: "Footer",cExec: "{}"});
    app.addMenuItem({ cName: "Remove Both", cParent: "Footer", cExec: "RemoveFooter(5)"});
    app.addMenuItem({ cName: "Remove Date Time (Filename)", cParent: "Footer", cExec: "RemoveFooter(1)"});
    app.addMenuItem({ cName: "Remove Page", cParent: "Footer", cExec: "RemoveFooter(4)"});
    //=====================================================================================
    //Set/remove Footer
    function SetFooter(ARG)
    var re = /.*\/|\.pdf$/ig;
    var FileNM = + this.path.replace(re,"")+".pdf";
    var Path = this.path;
    var AcDate = new Date();
    var AcDateFormat = "dd/mm/yyyy"
    var Box2Width = 100
    for (var p = 0; p < this.numPages; p++)
    var aRect = this.getPageBox("Crop",p);
    var TotWidth = aRect[2] - aRect[0]
    if (ARG<=3 || ARG==5)
    {var fd = this.addField("xftDate", "text", p, [30,15, TotWidth-30-30,30]);
    //print output?
    fd.value = util.printd(AcDateFormat, AcDate) + " (" + FileNM +")";
    // TEXT SIZE SETTING
    fd.textSize=12; fd.readonly = true;
    if (ARG==1){ fd.alignment="left" };
    if (ARG==2){ fd.alignment="center" };
    if (ARG==3){ fd.alignment="right" };
    if (ARG==4 || ARG==5)
    {var bStart=(TotWidth/2)-(Box2Width/2)
    var bEnd=((TotWidth/2)+(Box2Width/2))
    var fp = this.addField(String("xftPage"+p+1), "text", p, [bStart,30,bEnd,15]);
    // print output?
    fp.value = "Page: " + String(p+1)+ "/" + this.numPages;
    // TEXT SIZE SETTING
    fp.textSize=12; fp.readonly = true;
    fp.alignment="center";
    //==========================================================================
    function RemoveFooter(ARG)
    if (ARG<=3 || ARG==5) {var x = this.removeField("xftDate");}
    if (ARG==2 || ARG==5) {for (var p = 0; p < this.numPages; p++)
    var x = this.removeField(String("xftPage"+p+1)); }
    will

    Putting this in a batch file within the automation function of Acrobat
    delivers the goods, I need to investigate the formatting of the output to
    get them to line up, have taken the middle ground and gone for a central
    position for the page x/y text...... some lines are redundant
    Dr B
    ===========================================
    var re = /.*\/|\.pdf$/ig;
    var FileNM = this.path.replace(re,"")+".pdf";
    var Path = this.path;
    var AcDate = new Date();
    var AcDateFormat = "yyyy/mmm/dd  HH:MM"
    var Box2Width = 50
    for (var p = 0; p < this.numPages; p++)
    var aRect = this.getPageBox("Crop",p);
    var TotWidth = aRect[2] - aRect[0]
           var fd = this.addField("xftDate", "text", p, [30,15,
    TotWidth-30-30,30]);
           fd.value =  FileNM;
           fd.textSize=12; fd.readonly = true;
           fd.alignment="left";
    var bStart=(0);
    var bEnd=(TotWidth);
           var fp = this.addField(String("xftPage"p1), "text", p,
           fp.value = "Page: " + String(p1) "/" + this.numPages;
           fp.textSize=12;  fp.readonly = true;
           fp.alignment="center";

  • I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo.

    I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo. Is it possible to simply delete this blue color of the sky?

    Make your selection and then use Refine Edge.
    See this video tutorial from Bob Gager.
    https://www.youtube.com/watch?v=xrl3Qwg6zSc

  • Disappearing images when inserting header/footer

    Can anyone tell me why this is happening? I can't see any differences or simularities in the images that explain such behavior.
    These are documents created in Word and then saved as Adobe PDF.

    I've tried. It seems like the excact same job (similar icon). The content in header/footer is converted, but the images are still disappearing both by inserting pagenumber and updating.
    I've tried using both "adding to existing" and "replacing existing". Either way the images disappear.
    I've also tried changing the placement-preferences of the image in word, and saved as PDF again, but still the same error occurs.
    -Merete

  • Javascript Question - How to Insert a Dynamic/Current Date into the Footer of a Scanned Document

    Hi!
    I am looking for help in finding a Javascript that would allow the insertion of a dynamic/current date into the footer of a scanned document at the time the document is printed.
    I am currently using Adobe Acrobat Professional 8.0 at my work and there has arisen a need to have a dynamic/current date in the footer on scanned documents when they are printed out on different days by different people.
    I am new to the Forum and I am also very new to Javascript and what this entails.
    Thank you in advance for your help and input!
    Tracy

    this.addWatermarkFromText({
    cText: util.printd("mmmm dd, yyyy", new Date()),
    nTextAlign: app.constants.align.right,
    nHorizAlign: app.constants.align.right,
    nVertAlign: app.constants.align.bottom,
    nHorizValue: -72, nVertValue: 72
    Will insert the current Monday/Day/Year as a text watermark at the bottom of every page of a document, 1 inch up and 1 inch in from the right corner.

Maybe you are looking for

  • Windows 7 Home Premium Pre Installed OS Clarificat​ion

    REF SKU #3495331, Samsung Series 7 Laptop/Intel i7 Core Processor/ 15.6" Display/ 6 GB Memory/ 750 GB hard drive Within the full details of the product, "Overview" tab first bullet "Windows 7 Home Premium Installed" Further down on the same "Overview

  • Idoc info in 'Services for Objects' when a sales order is created

    Hi Guys Could one of you remind me how to turn on the Idoc info in the 'Services for Objects' > workflow option. I know how to turn on the services for objects using the user profile and entering parameter id:SD_SWU_ACTIVE , parameter value: X. I am

  • Upgrade from Final Cut Express to Pro 5.0

    I think I made a stupid mistake. I purchased Final Cut Pro 5.0 upgrade thinking I could upgrade from Final Cut Express. But when I am asked to enter the previous versions serial number, it does not accept it. Is there any way to do this or am I going

  • How do I get Flash Player to download?

    I have been trying for almost 24 hours (various times) to get this to download. Each time I click download, it only goes to 25% and then completely stops. I let it sit overnight to give it some time to download and it still didn't budge. I have a Mac

  • Spaces and emptying trash

    Whenever I am on space other than the space that I have assigned for the finder and I empty the trash, I am not automatically transferred to the space of the finder, I have to do it manually. For example I am on space 2, I have assigned space 1 for f