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)

Similar Messages

  • 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";

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

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

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

  • Need tutorial on how to insert charts in Pages document

    Can someone tell me where to find a tutorial on how to create a chart within a Pages document?

    Pages (dropdown menu)>insert>chart
    if you enter "char"t into the pages help menu,  you will find tutorials.

  • Inserting Hyperlinks in Pages Documents

    I am writing a document in Pages with the intent of posting it at blogsite where I have editing privileges. I cannot, however, figure out how to highlight a portion of the text and link that text to a URL address. Can this be done with Pages?

    Here is what is occurring when I attempt to insert a hyperlink in a Pages document:
    1. When I click on the Inspector button and check the hyperlink box the following URL address appears (as though it were a default) http://livepage.apple.com/
    2. This URL address will also appear in the Pages document that I am working on. I then have to return to the document and remove this URL address before continuing.
    3. If I delete this particular URL address from the Link Box and paste in the URL address I want, the highlighted text in the document appears with a rectangular shaped box around the words I want hyperlinked but there is no link established.
    4. These events are all quite puzzling because I had assumed that inserting a hyperlink was a fairly easy process. I looked in the Pages' Help section to verify my understanding before I even made my initial attempt to insert a hyperlink. After continually failing to do so, I posted a message that Dennis was kind enough to respond to but I am still pretty much stuck.

  • How to insert a math symbol in a pages document

    I have a nonstandard math symbol to insert inot a pages document. Please explain how to do it.

    If it is really non-standard, like not in Unicode, then you would have to use an image.  For things in Unicode, try an app like Cymbol or search the app store for "equation".

  • Image blurred after import into pages documents?

    Hi there, I've been working on the user manual of my software these days. I found out that everytime I took screenshots, they were clear --- as clear as the screen, and after inserting to my pages documents, the images got blurred badly.
    I've checked the size, and they were identical, which means there are no resizes.
    I thought it was the difference of the resolution: screen was 72 dpi, and maybe pages uses higher dpi? So I converted my images to 300 dpi, and they are still blurred after insertion.
    Thanks everyone!
    I am really in a hurry since this user manual is going to be printed in the next few days~!
    thanks!

    Where are they blurred? In Pages or on the print out?
    If in Pages, are you sure you display the pages at 100% (identical to the screen shot)?
    I am not able to reproduce your problem unless I either resize the screen shot in the Pages document or change the page view to something different from 100%.
    I do not have a printer, but my guess is that the printout would look fine, even if you resize the screen shot, so it looks blurry on screen.

  • How to insert blank page into pages document when using word processing mode?

    I've recently created a 50+ page document using Pages '09. I started the document using word processing mode. Now, when I view in thumbnail mode and try to insert a blank page somehwere in the middle of the document, it won't allow me to select where I want. It just selects all the pages, as thought they are one section. I believe this is because I am in word processing mode. My question is, can I convert the document to layout mode so that each page represents it's own section, without losing what work I've already done? And if so, how?
    The document is entirely text boxes and images, so I don't have any need for word processing space. I just need new pages to act as blank templates for the text boxes and images I create.
    Is it possible to keep all my work as is, and convert the document to layout mode vs. word processing mode?
    Thanks!

    It just selects all the pages, as thought they are one section.
    That's because they are one section. You must insert section breaks to separate them. There is no need to use page layout which does make each page a separate section. You have to manually add each page & use text boxes or other containers for the text & link the text boxes.

  • How can I insert an additional page without screwing up the master layouts? I have a document with multiple sized pages and the same master applied to each page.

    My document is currently 10 pages. There are 5 different sizes of the pages. They all have the same master page applied to them. When I go to insert a new page and/or duplicate a page...it screws up where the master layout goes. Surely there is simple way to do this??
    For example:
    These pages are all inserts for a sales folder.
    Pages 7 and 8 are sized at 8.5" w X 10.25" h. Pages 9 and 10 are sized at 8.5" w X 11" h.
    I need to duplicate page 8 and have it go between 8 and 9 and it needs to be sized like pages 7 and 8 (or 8.5" w X 10.25" h)
    When I go to to do this, it screws up the master page layout for the remaining pages of the document.
    I have tried several ways to do this. Can anyone help??
    Thanks!

    Try to define 5 different master pages.

  • How do I insert checkboxes into a Pages document?

    I have been trying to insert checkboxes into a document I created using Pages version 2.4.2 on my iPad Air. I would like an actual checkbox (not just the image of an empty box) so that a checkmark will appear once it has been selected. I am able to do this with the "Numbers" app, but I cannot copy and paste those check boxes to a Pages document.
    I want to use this document as a form I can easily access and print with checkboxes. I have only found a way to insert bullets, but not checkboxes that you can click on with your finger and a check mark appears in the checkbox.
    Thank you!

    I think you are misunderstanding "Insert text at cursor". The ANNOTATIONS are not text editing tools, rather they are tools for people making comments to "mark up" documents. You use "Insert text at cursor" to tell the document author you want HIM OR HER to insert text at that point; the author reviews all the comments and changes the original.
    You need to use one of the OTHER methods mentioned to actually add text. Probably simplest is the typewriter tool, which in Acrobat X is under TOOLS > CONTENT and is called ADD OR EDIT TEXT BOX.

  • Inserting Form Fields in Pages Document

    Does anyone know if it is poossible to insert a form field into a pages document just like what can be done is a Word document?  I would like the ability to develop a template that has some drop-down menus throughout the document (for different variables) so I can reuse the template in various scenarios by simply selecting the appropriate info from each menu. 
    Example:
    "Your time horizon is Menu Choice  (drop-down with: 1 year, 3 years, 5 years, greater than 10 years).
    I'll I've been able to find is the mail merge feature.  But I'm not looking to merge data from my contacts. 

    No you can't lock the document. If you even lock the textboxes you can't type into them.
    I'm a supposed expert (I use countless DTP apps) and I don't find Pages easy at all. In fact for many tasks it is quite a kludge.
    But the templates are nice.
    Peter

  • I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use cursor and drag down the top border, but that does not reset the top border.

    I created a Pages document inserting 2 columns using 1) Inspector 2) Layout 3) columns.  How do I decrease the height of the column.  Have tried to use the cursor and drag down the top border, but that does not reset/decrease the top border.

    Set your columns back to one for the moment. In layout mode, insert a Text box. Place it in the upper left corner of your document, and drag down and right to the size of the container for your two columns. Click inside the Text Box, and now bump up your columns to 2. Your two columns are now contained in this resizable Text Box.

Maybe you are looking for

  • How to find out the structure of storing settings in iTunesPrefs.xml?

    In iTunes settings are stored in the iTunesPrefs.xml! It is used to store base64.. I need to know what to read and write, you have to know the structure of storage options. Someone have an idea how to do it? The first thing that occurred to me, to tr

  • DVI and HDMI

    Hi..   I bought a new 24" 1080p HD LCD Monitor which has both DVI and HDMI inputs.. but my VGA Card is NX7600GS-T2D256EH which has 2 DVI out puts... Do I need to buy a VGA card with HDMI output to get 1080p HD resoulution or can I get 1080p output us

  • Experiences from an new user

    I've been using these forums for a while now, but haven't introduced myself yet. After reading the 'Has the arch philosophy changed? No.' thread i felt it could be useful if i listed some of my experiences as a new arch user. I have been working with

  • HT5295 Can you stop autoplay in the Podcast app?

    Is there a way to stop the Podcast app from automatically playing the next episode? It goes into streaming the next episode if it's not downloaded, and I don't want to be running my data while out.

  • InDesign trial version won't install

    I've downloaded the trial version for InDesign of this website, because I'm applying for a job where I'll need to know how to use it. Strange enough, I can't get it installed on my laptop (an Acer Aspire 5720G). After the system check I get a message