Inserting a Filename in Pages

I just downloaded the new Pages today from Apple, and went to start working on some exisiting documenation.
I've quickly realised that the new version excludes the ability to automatically update filenames as 'inserts' inside documents. Very useful for footers/headers in the old version.
Does anyone have a fix for this?

The Doobie Brothers foretold what becomes of long-term MS Word users.
“What Were Once Vices Are Now Habits”.

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

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

  • How to insert check box in pages?

    This may be a dumb question, but how to insert  check box in Pages?  Thanks

    Hi ...
    Try this thread >  Checkboxes in Pages?: Apple Support Communities

  • Can you use CreatePDF to insert or delete individual pages in a PDF?

    I know this functionality is available in the Pro desktop version.

    Hi PeeDeeEffs,
    Sorry, but Insert, Delete, Extract, Replace pages functionality is only available Acrobat.
    Indeed, you may want to consider upgrading your CreatePDF subscription to Acrobat Plus subscription – that would allow you to download and use Acrobat XI Pro desktop application on your computer.
    And if that sounds interesting please check out Adobe Acrobat Plus pages for more info:
    https://www.stage.acrobat.com/acrobatplus/en/home.html
    Regards,
      Rufina
      Member of Adobe CreatePDF Team

  • How to locate the first insertion point on every page?

    I need to paste some same anchored objects on every page for exporting RTF format.
    So I need to locate the first insertion point on every page.
    Then, I use the code below (make a simple example):
    for(i = 0; i < app.documents[0].pages.length; i ++){
         app.select(app.documents[0].pages[i].textFrames[0].insertionPoints[0])
         app.paste()
    But when a file has a very long table spread over several pages, the location operation will select the insertion point before the table --- the starting point of the table.
    For instance, a table start on page 3 and end on page 10
    app.documents[0].pages[4~10].textFrames[0].insertionPoints[0])  can't select the first insertion point from page 4 to page 10. (In terms of scripting, the insertion point exists before the very long table starting on page 3.)
    How can I solve the problem? Thanks in advance.

    I dont know exactly what you are trying to do but you can try this. If you have table which runs trough multiple pages, you can first divede this tabel, that cells on separate pages would represent stand alone table. Than you can fit textframe to this table. When addressing indention poin you will get right position.
    In your case when table start at 3rd and ends on 10th page you would get 8 tables in 8 textframes on its own page. If textframes are linked and table is smaller than textframe you will have problem when addressing first insertion point on 4th or any other page. That why you should fit textframe to table:
    var bl=app.activeDocument.pages[1].textFrames[0].insertionPoints[0].baseline
    var tf=app.activeDocument.pages[1].textFrames[0];
    var gb=[tf.geometricBounds[0],tf.geometricBounds[1],bl,tf.geometricBounds[3]];
    tf.geometricBounds=gb;
    Now when you set
    app.activeDocument.pages[1].textFrames[0].insertionPoints[0] you will get position before table or
    app.activeDocument.pages[1].textFrames[0].insertionPoints[-1] you will get position after table

  • How can i insert to word number pages after 6 pages but considering the pages before

    how can i insert to word number pages after 6 pages but considering the pages before.

    I assume this is Microsoft Word, and you want the first six pages to have no footer, subsequent pages to have a footer showing the page number.
    1. Insert a section break after the first six pages.
    2. Insert page numbers. This will add a footer with page numbers to both sections.
    3. Unlink the section 2 footer from the section 1 footer. [Click in the footer area, uncheck Link to Previous in the Header and Footer toolbar.]
    4. Delete the page number from the section 1 footer.
    Your document will now show page numbering on all pages starting with section 2.

  • Why it is hard to insert photos properly in Pages?

    It is hard to insert photos properly in Pages.
    I was trying to insert several photos into 1 pages file, but when I moved the photos, these were getting no order.

    "Why is it hard to insert photos properly in Pages?" Because it is a stunningly buggy, poorly designed, and feature-starved piece of software. It was the removal of features that first captured most users' attention, but it has gradually been dawning on people that 1. the software really is shockingly buggy and 2. just not well designed: the new format panel, e.g., is not just a screen-real- estate hog, it makes even the simplest formatting MUCH more difficult.  The design for iOS devices is actually much easier to use. Pages for the Mac really is, as one early reviewer put it, an "unmitigated disaster." It is every bit as bad as the Apple Maps app, but I guess no one much cares about word processing, or maybe it's just that most who do use Word. More and more people who used to use Pages will be doing that in the future.

  • Javascript Error after insert a Webpart into Page

    Hi everone, have you ever experienced getting error just after inserting a Webpart into page? I'm using Sharepoint Server 2013. These steps what I did:
    1. Create new page
    2. Click 'Add Webpart'
    3. Choose the webpart and click OK
    4. Webpart showed on page (simple table form)
    5. All ribbon controls are disable and there is javascript error on browser's console with message:
    SCRIPT1004: Expected ';' 
    Picture: http://i(dot)imgur(dot)com/UBM91b3(dot)png
    That line is not from my codes, it's automatically added by sharepoint after inserting webpart. Thanks for anyone who has workaround for this..
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContractReviewWP.ascx.cs" Inherits="Mitrais.SP2013.ContractManagement.WebParts.ContractReviewWP.ContractReviewWP" %>
    <script type="text/javascript">
    $(function () {
    Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(function (evt, args) {
    //datepicker
    $(".datePicker").datepicker();
    </script>
    <div id="divMain">
    <asp:UpdatePanel ID="upContract" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:HiddenField ID="currentStage" runat="server" />
    <h1>
    <asp:Label ID="lblFormTitle" runat="server" Text="Request"></asp:Label>
    Contract Review/Approval
    </h1>
    <div class="divControl">
    <table>
    <tr>
    <td>
    <asp:Label ID="lblTitle" runat="server" Text="Title"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="requiredValidatorTitle" runat="server" ErrorMessage="*" ControlToValidate="txtTitle" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblRequestType" runat="server" Text="Request Type"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:DropDownList ID="ddlRequestType" runat="server" CssClass="dropdownRequestType" OnSelectedIndexChanged="ddlRequestType_SelectedIndexChanged" AutoPostBack="true">
    </asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblDocumentType" runat="server" Text="Document Type"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:DropDownList ID="ddlDocumentType" runat="server">
    </asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblRequestedBy" runat="server" Text="Requested By"></asp:Label>
    </td>
    <td>:</td>
    <td class="tdPeoplePick">
    <SharePoint:PeopleEditor Enabled="false" ID="pplRequestedBy" runat="server" AllowEmpty="false" MultiSelect="false" SelectionSet="User" />
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblRequiredDate" runat="server" Text="Required Date"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="dtRequiredDate" runat="server" CssClass="datePicker"></asp:TextBox>
    <asp:RequiredFieldValidator ID="requiredValidatorRequiredDate" runat="server" ControlToValidate="dtRequiredDate" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <asp:Panel ID="pnlRequestedDate" runat="server">
    <tr>
    <td>
    <asp:Label ID="lblRequestedDate" runat="server" Text="Requested Date"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="dtRequestedDate" runat="server" CssClass="datePicker"></asp:TextBox>
    </td>
    </tr>
    </asp:Panel>
    <tr>
    <td>
    <asp:Label ID="lblDescription" runat="server" Text="Description"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredValidatorDescription" runat="server" ControlToValidate="txtDescription" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblClientCode" runat="server" Text="Client Code"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtClientCode" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="requiredValidatorClientCode" runat="server" ControlToValidate="txtClientCode" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblSSOCode" runat="server" Text="SSO Code"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtSSOCode" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="requiredValidatorSSOCode" runat="server" ControlToValidate="txtSSOCode" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <asp:Panel ID="panelCPC" runat="server">
    <tr>
    <td>
    <asp:Label ID="lblCPC" runat="server" Text="CPC"></asp:Label></td>
    <td>:</td>
    <td><asp:TextBox ID="txtCPC" runat="server"></asp:TextBox></td>
    <asp:CustomValidator ID="customValidatorCPC" runat="server" ControlToValidate="txtCPC" ErrorMessage="*" ValidationGroup="SubmitValidation"></asp:CustomValidator>
    </tr>
    </asp:Panel>
    <tr>
    <td>
    <asp:Label ID="lblValue" runat="server" Text="Value (US$)"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:DropDownList ID="ddlValue" runat="server"></asp:DropDownList>
    </td>
    </tr>
    <asp:Panel ID="panelCRM" runat="server">
    <tr>
    <td><asp:Label ID="lblCRMUpdated" runat="server" Text="CRM Updated"></asp:Label></td>
    <td>:</td>
    <td>
    <asp:CheckBox ID="checkBoxCRMUpdated" runat="server" />
    </td>
    </tr>
    </asp:Panel>
    <tr>
    <td>
    <asp:Label ID="lblAgreement" runat="server" Text="Agreement Authorisation Level"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:DropDownList ID="ddlAgreement" runat="server"></asp:DropDownList>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblAssignedTo" runat="server" Text="Assigned To"></asp:Label>
    </td>
    <td>:</td>
    <td class="tdPeoplePick">
    <SharePoint:PeopleEditor ID="pplAssignedTo" runat="server" AllowEmpty="true" MultiSelect="false" SelectionSet="User" />
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblStatus" runat="server" Text="Status"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="dropdownStatus"></asp:DropDownList>
    </td>
    </tr>
    <asp:Panel ID="panelStartDate" runat="server">
    <tr>
    <td>
    <asp:Label ID="lblStartDate" runat="server" Text="Start Date"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtStartDate" runat="server" CssClass="datePicker"></asp:TextBox>
    </td>
    </tr>
    </asp:Panel>
    <asp:Panel ID="panelEndDate" runat="server">
    <tr>
    <td>
    <asp:Label ID="lblEndDate" runat="server" Text="End Date"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:TextBox ID="txtEndDate" runat="server" CssClass="datePicker"></asp:TextBox>
    </td>
    </tr>
    </asp:Panel>
    <asp:Panel ID="pnlTemplate" runat="server">
    <tr id="rowTemplate">
    <td>Selected Template</td>
    <td>:</td>
    <td>
    <span id="selectedTemplateSpan"></span>
    <asp:HiddenField ID="hdnSelectedTemplate" runat="server" />
    <asp:Button ID="buttonLookupTemplate" runat="server" Text="Choose Template" CssClass="buttonTemplate" /></td>
    </tr>
    </asp:Panel>
    <tr>
    <td>
    <asp:Label ID="lblLatestDocument" runat="server" Text="Latest Document"></asp:Label>
    </td>
    <td>:</td>
    <td>
    <asp:HyperLink ID="linkLatestDocument" runat="server"></asp:HyperLink>
    <asp:FileUpload ID="fuLatestDocument" runat="server" />
    <asp:CustomValidator ControlToValidate="fuLatestDocument" OnServerValidate="LatestDocument_ServerValidate"
    ErrorMessage="The document with same name already exist, please use different name." SetFocusOnError="true" runat="server" ForeColor="Red" />
    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="lblTaggedPerson" runat="server" Text="Person Tagged">
    </asp:Label>
    </td>
    <td>:</td>
    <td class="tdPeoplePick">
    <SharePoint:PeopleEditor ID="peopleTaggedPerson" runat="server" MultiSelect="true" AllowEmpty="true" SelectionSet="User" />
    </td>
    </tr>
    </table>
    </div>
    <div>
    <table class="tbButton">
    <tr>
    <td></td>
    <td>
    <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" OnClientClick="PreSubmit();" ValidationGroup="SubmitValidation"/>
    </td>
    <td>
    <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click"/>
    </td>
    <asp:TextBox ID="txtCheck" runat="server" Text="Add" Visible="false"></asp:TextBox>
    <asp:TextBox ID="txtTempID" runat="server" Style="visibility: hidden;"></asp:TextBox>
    <asp:TextBox ID="txtIsAddNew" runat="server" Text="true" Visible="false"></asp:TextBox>
    </tr>
    </table>
    </div>
    <div id="tabContainer">
    <div class="tabs">
    <ul>
    <li id="tabHeader_1">Comment</li>
    <li id="tabHeader_2">Document Template History</li>
    </ul>
    </div>
    <div class="tabscontent">
    <div class="tabpage" id="tabpage_1">
    <div id="phComment" runat="server"></div>
    </div>
    <div class="tabpage" id="tabpage_2">
    <div id="phDocHistory" runat="server" />
    </div>
    </div>
    </div>
    </ContentTemplate>
    <Triggers>
    <asp:PostBackTrigger ControlID="btnSubmit" />
    </Triggers>
    </asp:UpdatePanel>
    <asp:HiddenField ID="hfComment" runat="server" />
    </div>
    <script type="text/javascript">
    $("#<%= upContract.ClientID %>").ready(function () {
    setTimeout(MitraisCM.contract(), 5000);
    </script>

    Hi,                                                             
    Per my knowledge, such error might occurred when we modify the HTML code of the page, through SharePoint Designer or Content Editor Web Part.
    What web part you added into the page?
    What if you create another new page and insert a list into it, will the error occurs?
    Feel free to reply with the test result if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Insert subform only after page 1

    Hello, working on my first LiveCycle form.  I would like to insert a subform (subform1) at the top of every page.  And insert subform2 only on page 1, after subform1.  Is there someway to hide subform2 if the page is not equal to 1?  Thanks.

    Thanks. You are correct. I did end up creating a second master page. The first one I titled as FIRST was a max occur of 1.  Then the second master page titled NEXT which will be used for the rest of the pages, starting with page 2. Both master pages have 2 content areas. The second having a bit smaller size at the top of the page. I did end up putting text fields, binded to some of the same header fields, in both of the "top" content areas. This helped me achieve the results I was looking for. Thanks.

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

  • 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 a Filename in the Footer

    I'd like to add the filename of the Page document that I have created without having to do it manually.
    In Word, I can insert automatically a Filename at the bottom of the page.
    How can this be done automatically with Pages version 5.0.1?

    The Doobie Brothers foretold what becomes of long-term MS Word users.
    “What Were Once Vices Are Now Habits”.

  • Why do I have to run a  doc.saveAs() prior to Inserting, Deleteing, or Extracting pages?

    MY SETUP:
    I'm using folder level javascripts.   In Acrobat I have the 'enable menue items javascript execution privledge' enabled,  In my actual folder level scrips I have them wrapped in a trusted function along with app.beginPriv()/app.endPriv().    My PDF's are coming from LiveCycle Designer which I then open and run in Acrobat.
    MY QUESTION:
    Through much trial and error and banging my head on the wall I've found that if I want to use insertPages(), extractPages() or deletePages() called as a trusted fucntion  on its own it won't work unless I first run a saveAs() function to create a new document file and only then can I run the desired function on the new saveAs'd doc.   I simply can't run an insertPages() on the current open doc without a saveAs first().    
    Why is that?
    I find that very frusterating and the resulting errors aren't a help.  If I don't SaveAs first I get security error or invalid function errors.
    EXAMPLE:
    Save As Function:
    var LCB_SaveAs = app.trustedFunction(function(doc, filename) {
        app.beginPriv();
        doc.saveAs(filename);
        app.endPriv();
    Insert Page Function:
    var TEST_InsertPage = app.trustedFunction(function(doc, filename) {
        app.beginPriv();
           doc.insertPages ({
               nPage: -1,
               cPath: filename
           app.endPriv();
    Javascript code in document to call the above functions:
    if(typeof(LCB_SaveAs) == "function") {
        if(typeof(TEST_InsertPage) == "function") {
            try {
                TempFileLocation = "/C/PATH/InsertTemp.pdf"
                LCB_SaveAs(event.target, TempFileLocation);
                try {
                    PathOfInsertDoc = "/C/PATH/FileToInsertIntoSaveAs'dDoc.pdf"
                    TEST_InsertPage(event.target, PathOfInsertDoc)
                catch(e) {
                    xfa.host.messageBox(e.toString().replace("RaiseError: ","") , 0, 0); 
            catch(e) {
                xfa.host.messageBox(e.toString().replace("RaiseError: ",""), 0, 0); 

    Hi George.  Yes I'm using static XFA forms which were created with PDF's as basic 'artwork' in the background and then my custom fields and script tunning on top. 
    I've tried running  a function (below) in the console, but did nothing -- maybe a syntack error.  I don't know what that may or may not mean though.  I'm not use to running stuff through the console so I could be doing it wrong.  My console experiance is limited to calling the path where the javascripts folder resides.
    Attempt script in console:
    var MJS_HN_Delete_RevisitForm = app.trustedFunction(function(doc) {
        app.beginPriv();
        doc.deletePages(15, 15);
        app.endPriv();
    and/or this:
    app.trustedFunction(function(doc) {
        app.beginPriv();
        doc.deletePages(15, 15);
        app.endPriv();

  • How to insert an address in pages 5.1

    Before I update to pages 5.1 I could insert an address. I was able to make a automatic form where I could insert name company or adress and it would automaticaly change everywhere. Is this still possible? Thans

    Thast woiuld be merge fields. Present in Pages 09, not present in Pages 5.1.  Note that Pages 5.1 is missing about 100 features that are present in Pages: merge fields, bookmarks, comments that you can see while ediitng, ability to print comments, 2-up page view, ability to have alternating lef/right margins, meaningful AppleScript support &c &c.  As a compensation, perhaps, it is extremely buggy.  If you look through these disucssions you'll find many anguished complaints about data loss, corrupted files, trashed templates, and files that cannot be opened. You're a braver man than I if you use it for any work you care about. If, however, you want to make a poster for Ediie Cue's next concert, you're in business.
    PAhes 09, by the way, should still be on your computer. Install Pages 5, thankfully, does not delete it.

Maybe you are looking for

  • Late 2011 Macbook Pro 15" random logouts

    I just got this laptop from work and have been trying to set it up the past couple of days and in 2 days I have gotten 5 random logouts. I cant seem to pinpoint the cause of the problem. I went over other threads with similar errors, and came up with

  • Error in SAPLV14A

    Hi Gurus, When running Sales pricing customizing settings, i am getting dump in SAPLV14A - LV14ATOP: Inconsistency in the Dictionary for the structure "KOMGFOLD". DATA: BEGIN OF index_old OCCURS 50.         INCLUDE STRUCTURE komgfold. DATA: END OF in

  • Gas flow Control

    Hi, I am just starting to write a program for Gas flow Control but I am unable to do it. Because I am new in Labview. Could you tell me how can I get a sample labview file for gas flow control. I am waiting for that. I want to learn labview myself. P

  • HD is full and MacPro is acting funky

    i am on hold with mac advanced tech and have a bit of an emergency as i try and get out of town. i just did a fresh install of my OS and manually migrated data back to my 1 TB HD and /had/ planned on dealing with archiving data (including a 25 GB ape

  • Iphone 3Gs has no signal

    I dropped my Iphone 3Gs yesterday and since then cannot connect to my network or when its connect the signal is very poor. Most of the time is searching and No Service. Any idea??