Inserting filename in a document

How do I insert a filename into a document header?  Or replace a filename with an updated, changed filename? Using new Pages on iMac.

I found this in Help in the Pages toolbar.  It is annoying that one has to type in the filename, but at least one can get the filename in the footer
Add headers and footers
Move the pointer over the top or bottom of the page until you see the header or footer area, then click inside it.You can use just one or any combination of the three fields for your header or footer.If you’re having difficulty seeing the header and footer area, choose View > Show Layout (from the View menu at the top of your computer screen). If you still don’t see the header or footer area, click Document in the toolbar, click Document, then make sure the Header and Footer checkboxes are selected.
Enter your text and page numbers (optional).Depending on the existing header and footer content, and whether you have more than one section in your document, you may see an option to start a new header or footer.

Similar Messages

  • Insert filename in Pages document

    When I was working with Word for Windows there was an insert feature that allowed me to insert the path and filename in my documents. Very helpful since I do a lot of correspondence and keeping track of letters can get hectic. I've looked high and low and don't see that in Pages.

    This feature is not available "in thebox"
    You may go to my iDisk:
    <http://idisk.me.com/koenigyvan-Public?view=web>
    and download:
    foriWork:for_Pages:paste_thepath.zip
    It contain two scripts.
    One which pastes the pathname at the Insertion point.
    One which insert the pathname at the end of the document.
    I apologize but at this time I don't know the way to insert at the insertion point
    Yvan KOENIG (from FRANCE lundi 25 août 2008 12:22:02)

  • 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.

  • 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.

  • Insert filename in master slide

    Can somebody tell me how I can insert the filename into the master slide (like you can insert filename in Numberq and Pages) so that when I change my filename it automatically changes also in the master slide ? Many thanks for your help.

    This feature is not available "in thebox"
    You may go to my iDisk:
    <http://idisk.me.com/koenigyvan-Public?view=web>
    and download:
    foriWork:for_Pages:paste_thepath.zip
    It contain two scripts.
    One which pastes the pathname at the Insertion point.
    One which insert the pathname at the end of the document.
    I apologize but at this time I don't know the way to insert at the insertion point
    Yvan KOENIG (from FRANCE lundi 25 août 2008 12:22:02)

  • 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 have been having trouble with inserting pages in a document in indesign

    having trouble with inserting pages in a document in indesign

    You're going to give us more information for us to help you.
    What operating system? What version of InDesign? What happens when you insert a page (and how are you choosing to insert a page)? Does it happen with just one file, or does also happen on a clean new file?

  • Insert hyperlinks in pdf-documents

    Since Mavericks you can´t insert hyperlinks in pdf-documents. I miss this option in the preview. Are there any other possibilities?
    (I have MS Office for apple, therefore the links get lost, if I convert it to pdf).

    No one here can guess what "Apple wants." This is just an end user forum. There are open source alternatives to Pages and Office you may want to research: https://discussions.apple.com/docs/DOC-6941
    http://www.apple.com/feedback is where you can put your two cents if you so desire to get Apple to consider them.

  • Can the cell lines be removed from a table inserted in a Pages document?

    Can the cell lines be removed from a table inserted in a Pages document?

    Inspector > Table > Table > Cell Borders
    The buttons immediately below "Cell Borders" allow you to choose left, right, inside, outside etc.
    Choose None from the border style Pop-up.
    Download the Number'09UserGuide from the Help menu in Pages. Search for borders.
    Regards,
    Ian.

  • Possible to insert a HYPERLINK in document HEADER?

    Subject: Possible to insert a HYPERLINK in document HEADER?
    I have a 300 page document, where the first page is a "Table of Contents".
    I would like to provide the readers with a QUICK way ("no-brainer/easy" way) for the reader to JUMP back to that "Table of Contents" page from any place in the document.
    Can I, perhaps, insert a hyperlink to the "Table of Contents" in the document HEADER? Or is there a different way to go about this?
    Thanks for anybody's creative answer (the simpler the better . . . .)

    Hi.
    Thanks for your reply.
    It was originally a Microsoft Word document. I just clicked "convert to pdf" from the toolbar. Then, in Acrobat 8, I have inserted a page-number header.
    Can I perhaps insert a hyperlink within that HEADER . . . pointing back to the first (Table of Contents) page?

  • Inserting jpegs into word2010 documents

    I have just been through a long seige with Microsoft TS (which cost me 39 bucks) about the fact that I cannot import  images into a word 2010 document. They comes in as  black rectangles.  I can import images from my HP scanner, from the WEB, from screenshots, etc, but any images that was formatted in Lightroom or Nikon NX come in as a black rectangles.  That includes JPG and TIFF.  The only suggestion I could get from Microsoft was that I should be using software other than Adobe.   The other weird thing is that word2010 works properly on my laptop.  Both machines are Dell W7, 64bit.

    I normally import images from NEF to DNG to a Lightroom catalog on my photoarchive on an external HD.  Once I have finished processing and organizing them, I export selected images as JPG at appropriate sizes to appropriate directories on the internal HD on my computer.   I no longer do many newsletter publication type things, but I just tried one in which I typed a body of text with word2010 (just installed, and working fine for most other things).  However, when I tried to use Word's "insert>picture" capability, referenced to the appropriate JPG image file on the HD, the low resolution JPG images come in as black rectangles, no matter what the image size.  I fought it for several days--once in a while the image would come in properly, and immediately turn black.  The extra weird thing is that Word2010 works fine on my laptop.  I can import the same JPG images over my (wired) network from my desktop to the document on the laptop, no problem, but if I then send the resulting properly-formatted document from the laptop back to the desktop, the images will turn black when they hit the desktop.  The only way I can do the illustrated newsletter thingy is to write it to Acrobat and send it to the desktop for printing, or just print it from the laptop.   Both desktop and laptop are running W7ultimate and are 64 bit machines.  As I think I mentioned in the post, everything works fine with jpgs that from screenshots or JPEG scans from my HP multifunction printer, so long as the scan was never imported to a Lightroom catalog, OR Nikon NX.
    Date: Fri, 16 Jul 2010 12:33:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: inserting jpegs into word2010 documents
    Have you exported the image from Lightroom to a JPG file on your hard disk?
    Exactly what steps do you follow to get the image out of LR and into Word?
    >

  • Insert a A4 pdf document keeping scale.

    When I insert a PDF A4 document (in the same way as a photo) with a technical drawing it is showed on a smaller scale than it has in the pdf document . I need to insert pdf documents keeping the scale. Anybody can? Thank you very much if you can help me.

    Thank you from Spain for helping me to find the solution.
    If you are interested I´ll tell you.
    I don´t know the words of your menu in english but lets try.
    The way is the following:
    Archive/place/ Activate: Show Import Options
    Then you choose the option trim.
    The Ok. Click on the paper and the pdf appears perfect and not scaled.
    Thank you again.

  • Firefox (15) inserts a "Firefox HTML document" in Windows Explorer File New menu. It breaks my works patterns (Alt FWF stops working). Need to disable.

    I often use the shortcut Alt FWF to create new directories on Windows.
    When FF 15 is set as default it alters the File New menu from Windows Explorer.
    It inserts a "Firefox HTML document" item.
    This item seems to sabotage the above key combination. It intercepts the last F.
    In addition I object to the naming which is plain wrong, for me.
    I have deleted the registry key that inserts this thing. Unfortunately it re-appears.
    I want to stop this behaviour.
    How do I kill this. (Other than by making another browser the default.)

    I'm not seeing that on Windows 7 (which I'm sure is no consolation to you).
    Since Folder usually is the top item on the new items menu, can you use
    <br>Alt+f w Enter
    until someone comes up with <s>a better workaround</s> an actual solution?

  • Insert Fields From INSPECTOR DOCUMENT INFO into Pages Document

    I was able to do this since the DOS version of MS Word and would be rather surprised if there is no way to do it in Pages. Is there a way to insert "Document Info" about the present document into the present document?
    Am trying to work up my own template for manuscripts. I use the Document Info dialog and would like to have information like Author and Title dropped into the document via a field like can be done with Page Numbers.

    Bingo.
    I built a script inserting the infos extracted from the Infos dialog.
    --[SCRIPT insertdocumentinfos]
    Enregistrer le script en tant que Script ou Application : insertdocumentinfos.xxx
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Définir dans un document Pages le point d’insertion des infos sur le document.
    Aller au menu Scripts , choisir Pages puis choisir “insertdocumentinfos”
    Le script extrait les infos de l’inspecteur Document > Infos et les insère dans le document.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script or an Application : insertdocumentinfos.xxx
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Define, in a Pages document, the insertion point for the document's infos.
    Go to the Scripts Menu, choose Pages, then choose “insertdocumentinfos”
    The script extract the infos from IOnspector > Document > Infos and insert them in the document.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/03/09
    --=====
    property Document_loc : missing value
    --=====
    on run
    run script doyourduty
    end run
    --=====
    script doyourduty
    local inspecteur_actif, mon_auteur, mon_titre, mesmotsclef, mes_commentaires, mes_infos, selection_originelle
    my activateGUIscripting()
    Grab the localized title of the Document's inspector *)
    tell application "Pages" to set Document_loc to localized string "Document"
    tell application "Pages" to tell document 1
    -- set focus on the document
    end tell
    Grabs the title of the active inspector *)
    set inspecteur_actif to my getactiveinspector()
    if inspecteur_actif is {} then
    No inspector open, trigger Show Inspector to open one *)
    my selectMenu("Pages", 8, 15)
    Grabs its title *)
    set inspecteur_actif to my getactiveinspector()
    end if
    repeat
    if inspecteur_actif contains Document_loc then
    exit repeat
    else
    Open a new Inspector *)
    my selectMenu("Pages", 8, 16)
    Grabs its title *)
    set inspecteur_actif to my getactiveinspector()
    end if
    end repeat
    Now the Document Inspector is open, extract the infos
    set {mon_auteur, mon_titre, mesmotsclef, mes_commentaires} to my get_infos()
    set mes_infos to my recolle({mon_auteur, mon_titre, mesmotsclef, mes_commentaires}, tab)
    Insert the infos at the selection point
    tell application "Pages" to tell document 1
    set selection_originelle to contents of the selection
    set selection to (selection_originelle & mes_infos)
    end tell
    Clear the property because I dislike to store such item in the script *)
    set Document_loc to missing value
    end script
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    on activateGUIscripting()
    (* to be sure than GUI scripting will be active *)
    tell application "System Events"
    if not (UI elements enabled) then set (UI elements enabled) to true
    end tell
    end activateGUIscripting
    --=====
    on getactiveinspector()
    local the_inspector
    tell application "Pages" to activate
    tell application "System Events" to tell application process "Pages"
    set the_inspector to title of every window whose subrole is "AXFloatingWindow"
    end tell
    return the_inspector
    end getactiveinspector
    --=====
    on get_infos()
    local l_auteur, le_titre, mots_clef, les_commentaires
    tell application "Pages" to activate
    tell application "System Events" to tell application process "Pages"
    tell (first UI element whose role is "AXTabGroup") of first group of (first window where subrole is "AXFloatingWindow" and title is Document_loc)
    tell (third UI element whose role is "AXRadioButton") to if value is 0 then click
    set {l_auteur, le_titre, mots_clef, les_commentaires} to value of every text field
    end tell
    end tell
    return {l_auteur, le_titre, mots_clef, les_commentaires}
    end get_infos
    --=====
    my selectMenu("Pages",5, 12)
    ==== Uses GUIscripting ====
    on selectMenu(theApp, mt, mi)
    tell application theApp
    activate
    tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
    tell menu bar item mt to tell menu 1 to click menu item mi
    end tell -- application theApp
    end selectMenu
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mercredi 9 mars 2011 22:14:43

  • Scripts to insert metadata automatically to document with paragraph style

    Hello,
    I am trying to find a way to automatically insert  metadata into my document through paragraph style in indesign cs5.5.
    This will be myDocument title, the Author name and myDocument description.
    Is there anyone who can help me with this project?
    Thanks.

    Place the script in the following location: C:\Program Files\Adobe\Adobe InDesign CS6\Scripts\startup scripts
    If you close the document the script will automatically put the metadata in your indesign file (use ctrl+w or menu -> file -> close option to close the file)
    Code:
    #targetengine session
    //if you want to test the script for your active document, comment the below line else copy the script in your startup folder
    app.menuActions.itemByName("Close").eventListeners.add("beforeInvoke", function()
    var myDoc = app.activeDocument;
    var docTitleText="";
    var docDescripText="";
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = '.+';
    found = app.activeDocument.findGrep (true);
    for (j = found.length-1; j >=0 ; j--)
        var foundText = found[j].contents;
        //You can define multiple Paragraph style for Document Title
        if(found[j].texts[0].appliedParagraphStyle.name=="docTitle1")
            docTitleText=found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docTitle2")
            docTitleText=docTitleText + " " + found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docTitle3")
            docTitleText=docTitleText + " " + found[j].contents;
        //You can define multiple Paragraph style for Document Description
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription1")
            docDescripText=found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription2")
            docDescripText=docDescripText + " " + found[j].contents;
        else if(found[j].texts[0].appliedParagraphStyle.name=="docDescription3")
            docDescripText=docDescripText + " " + found[j].contents;
    with (myDoc.metadataPreferences){
        author = "My Name";
        documentTitle = docTitleText;
        description = docDescripText;
    Vandy

Maybe you are looking for

  • TRIED EVERYTHING!!! computer will not recognize IPOD and no charging

    Tried changing cords; tried reinstalling all software; tried to determine if conflicting software; ran ipod out of power and my computer still will not recognize when I plug it in. Backlight initially lights up but ipod does not show up in device man

  • Bug in New Association Wizard [jdev903/bc4j]

    Hi, in the wizard for creating a new Association between two entities, the multiplicity lacks the option '1 : 0..1'. As a workaround you can create the association the other way round, because '0..1 : 1' is present, but then you can't use the 'Compos

  • Missing mapping for field error

    Here is the set up: Person extends Party using InheritanceType.JOINED Household extends Party_Relationship using InheritanceType.JOINED Household has a Set of Persons mapped One to Many unidirectional When I use PrimaryKeyJoinColumn on the Person and

  • Firefox 30 crashing

    Hi, I've last one version of firefox in my laptop. Sometimes it's crashing with no explanation, just crashes when I open a random tab. This is the only thing I find in journalctl. jun 17 20:08:14 koven firefox.desktop[1654]: Failed to open VDPAU back

  • Oracle worklfow

    Hi Guys Ine to find out how to perfoma this checks in Oracle work flow 1)     How to check is the notification mailer is up and running 2)     How to stop and start the notification mailer 3)     How to check if a requisition/purchase order is stuck