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.

Similar Messages

  • Insert current date and time into Oracle date type field

    I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
    For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
    The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
    Here is what I have for my JDBC inserts and I also tried something with DateFormat:
    PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
    I also tried:
    PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
    Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
    Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.

    sportsMarkr wrote:
    Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
    [http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
    If you want a date and time then use java.sql.Timestamp.

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

  • Am unable to insert table and graphs into word document in labwindow/CVI? can any one help me ?

    Am unable to insert table and graphs into word document in labwindow/CVI? can any one help me ?

    Are you using the Word Report Generation instrument? You can find it in toolslib\activex\word\wordreport.fp under the CVI directory.
    The instrument comes with a sample project that shows how to include table and graphs in a Word document: see samples\activex\word\wordrpt.cws in the samples foder of your CVI installation.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • As of version 31, why is there still no Thunderbird option to insert current date and time in message that you are writing?

    As of version 31, why is there still no Thunderbird option to QUICKLY insert current date and time in message that you are writing?
    Literally have seen this very-much-needed -- and used -- option "promised" for three years now, and even if there's only one or two formats that could be used, at least the option is there.
    It seems only way is to link a Macro and tool to Thunderbird and do it that way.
    Joe Rotello
    [email protected]
    Skype: joerotello

    Where was it promised? A quick search of Bugzilla didn't find a functionality request bug report for it.
    I assume you're aware that Mozilla stopped development about 2 years ago (just adds security/stability fixes and provides infrastructure) and all new features and bug fixes are now added by the community. They seem pretty tied up with bug fixes and reworking some hard to maintain components such as the MIME support.
    Have you tried the Timestamp add-on at https://addons.mozilla.org/en-us/thunderbird/addon/timestamp/ ? The version at AMO doesn't support versions later than 2.0 so you'd need to do something like install the disable add-on compatibility checks add-on at https://addons.mozilla.org/en-us/thunderbird/addon/checkcompatibility/?src=ss, and ignore the warning message about Timestamp not being compatible. However, the author has a version at http://extensions.sanjer.nl/?page=tb_ts that supposedly supports up to Thunderbird 11.9.x so it should be "compatible by default as it supports version 5 or later and is not a binary add-on like Lightning or Enigmail.
    "For Thunderbird use the context menu (right click popup) in the compose window, Ctrl+Shift+T or "Options | Insert timestamp" to inserts the date/time into a message"

  • How do I open my old Appleworks documents which have turned into Unix Executable Files?  I would like to convert them into Pages documents.

    How do I open my old Appleworks documents which have turned into Unix Executable Files?  I would like to convert them into Pages documents.  I also have old Word Perfect documents which have become similarly unopenable.

    Best bet might be to try opening them using LibreOffice [free] and save them to .doc.
    Do you really want to save them as .pages files? You are jumping from the frypan into the fire. Yet another proprietary format that Apple has again deadended with no working translation.
    Peter

  • Inserting or embed and image into cfmail output from a database-stored path to an actual image.

    I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?
    My code is below:
    <cfquery name="Staffreport" datasource="master">
    Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport, name, stafflt
    where 0=0
    and stalt = '#Session.user_id#'
    and ltid = '#session.user_id#'
    and staweekbegin = <cfqueryparam value="#form.staweekbegin#" cfsqltype="cf_sql_date" />
    AND staweekend = <cfqueryparam value="#form.staweekend#" cfsqltype="cf_sql_date" />
    AND stapersonnelid = personnelID
    <!---AND ltid = stalt--->
    AND CITY = 'richmond'
    AND STATUS <> 'd'
    AND STATUS <> 'T'
    AND type = 'personnel'
    Group by personnelid
    Order by teammember
    </cfquery>
    <cfmail>...
    <cfloop query="staffreport"><br />
    <table width="90%" border="0" cellspacing="2" cellpadding="4" align="left">
      <tr>
        <td colspan="2" align="center" valign="top" nowrap="nowrap" bgcolor="cccccc"><strong><font color="black"><cfif #staffreport.last# eq ".">#Ucase(Staffreport.teammember2)# <cfelse>#Ucase(Staffreport.teammember)#</cfif> - ID: <cfoutput>#Staffreport.noiid#</cfoutput></font></strong></td>
      </tr>
    <tr>
        <td align="left" valign="top" nowrap="nowrap" bgcolor="#000000">Name:</td>
        <td>#Staffreport.teammember#</td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Photo:</td>
        <td bgcolor="EBEBEB">
    <img src="#staffreport.hisphoto#" alt="Photo" width="98" height="98">
    </td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Email:</td>
        <td bgcolor="EBEBEB">#staffreport.email#</td>
      </tr>
    </table>
    </cfloop>
    </cfmail>

    You'll need to provide a full URL link to the image ("http://mywebserver/file/images_personnel/28.jpg"), not just a relative path.  Remember, the email client that is used to view the email content knows nothing of the internals of your web server - it can only follow a complete URL to get images and other resources.
    -Carl V.

  • Is there any way to crop part of  a screen shot and paste into Pages?

    Instead of importing an entire photo into Pages, I am trying to:
    -take a screen shot of iPad documentation
    - open in photo roll and crop a section out of it
    - paste into Pages
    Is there an App that might crop and paste into Pages?
    Thanks for any help.
    Prea

    You can do that with PhotoPad. You take a screen shot, crop it in PhotoPad and it is saved to Saved Phototos. Then you just go the Media section and import the croped photo.

  • How to embed B, and C size engineering drawings into Pages documents

    I am attempting to create a technical manual which includes both 8.5x11 pages (portrait orientation) and larger B and C sized PDF drawings (landscape orientation). My current process is exporting a finished Pages document to a PDF, and then manually dragging in the other drawing PDFs to create the final version. However, as both drawings and text regularly change, there is a great deal of effort to manually assemble a final doc. Plus, the TOC and other auto-updating fields in the Pages document change as new text is added, so page numbering the final PDF is a nightmare - it is presently done in Acrobat Pro.
    Any suggestions on how to make the complete manual do the following:
    1) remain in an easily editable Pages format conducive to regular updates?
    2) allow for automatic updating of pages, fields, TOC, etc. as new text and/or drawings are added?
    3) keep PDF drawings in vector format so they can be zoomed on-screen without becoming pixelated?
    Thanks,
    -Jon

    My current process is exporting a finished Pages document to a PDF, and then manually dragging in the other drawing PDFs to create the final version. However, as both drawings and text regularly change, there is a great deal of effort to manually assemble a final doc. Plus, the TOC and other auto-updating fields in the Pages document change as new text is added, so page numbering the final PDF is a nightmare - it is presently done in Acrobat Pro.
    In the past, Apple has system level support for portrait and landscape in one pagination. This system level support was in the graphics model, and was implemented e.g. in WordPerfect for Mac.
    Presently, the situation is as you describe, first, the main pagination is output to PDF and, second, supplementary pages are inserted manually into the main pagination.
    Off the cuff, I do not know if similar system level support is available in Mac OS X which is based on a somewhat different graphics model.
    As I understand it, what you want is possible at application level in Microsoft Word, although I don't have experience with that application.
    I would not know how to do what you want in QuarkXPress or InDesign in the versions I have. These applications using internal graphics implementations and bypass system level services on Mac OS X and Windows.
    /hh

  • 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

  • Applescript to insert graphic from file into Pages document

    I am trying to insert a picture from a file into Pages using Applescript, i.e. I am trying to do via script the same thing as the Menu command " Insert" followed by "Choose...".
    I have tried the following Applescript and variants of it but it does not work:
    set theFile to "xxx_HD:Users:xxx:Desktop:PagesScripts:picture.pct"
    tell application "Pages"
    tell document 1
    tell body text
    set thePar to make new paragraph at end
    set contents of thePar to make attachment theFile
    end tell
    end tell
    end tell
    I am not even sure that " make attachment" is the right command to use to insert a graphic from a file. I have not found any information anywhere on this. Can someone help please?

    Pages '09 should still be in your Applications/iWork folder.
    What do you like in the "new look"?
    Peter

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

  • Script to merge data from Numbers into Pages document, export as PDF and send via email

    Hi,
    I am wondering if it would be possible to achieve the following with an applescript:
    1. Merge Names from Numbers into a multi-page Pages document.
    2. Export each page of the resulting document as a PDF
    3. Attach each of these PDFs to an email with specific text in the body of the email, setting the subject, the 'from' email address, as well as the 'to' email address from a field in the Numbers document.
    4. Optionally send the emails automatically.
    I would be glad to know if this is possible before I embark on trying to write such a script, and for any advice/script that would help me on my way.
    Thanks,
    Nick

    Thanks Bernard.  Sorry if my original post wasn't that clear.  I think you've pretty much got it in your paragraph starting "So, I think you're asking for", but will explain more in the hope that it will be clearer:
    I have a Numbers table with 2 columns: Name and Email.  I have say 50 people in this table and I need to email each person a version of a one page Pages document which would be identical except for their name.
    The Name field is the only field that needs to be merged into the Pages document (one time only).
    Once the merging has taken place the versions of the one page Pages document need to be exported as a PDF and attached to emails, one email from each person in the table in the Numbers document, with each email going to the email address corresponding to the name in the Numbers document.
    The text in the email would be identical except for the name again.  The text for the email body, subject as well as the 'from' field would be contained in the script (i.e. generated by the script).
    It would also be good to have the option of sending the emails automatically or manually, so that I could check that the emails that are generated are correct before sending.
    I hope that's clearer!
    Nick

  • Can`t drag and drop foto into pages document, it bounces back

    trying to drag and drop a foto from iphoteo to pages document, it doesn`t work properly and steady.
    Eventually it bounces back. I repeated to do so few times, sometimes it works into an blank page or into a fotoframe, sometimes it doesn`t.
    I checked camera type and other informations of the pictures,seems to be not part of the problem.
    I can drag and drop fotos to the desktop without problems, all jpg.
    I did drag and drop a few pictures succsesfully onto the same document or into the same fotoframe and suddenly, again it does not work.
    Any help?
    Andi

    Try making a direct shortcut to the Organizer and then the Editor.
    You should then be able to drag and drop on to the desktop icon.
    On Windows right click on the desktop and select New >> Shortcut
    Browse to Computer OS C:
    And find the PSE Organizer application in Program Files or Program Files (x86) on Windows 7 - 64 bit.
    Inside the Adobe >> Photoshop Elements Organizer (yellow folder) you are looking for an application file “PhotoshopEementsOrganizer” with six small icons (e.g. representing thumbnails - could be different in PSE5 but look for the exe file)
    Select it and click OK
    Click next
    Rename by taking out Photoshop Elements leaving just the word Organizer
    Then click finish
    You should now be able to launch directly form the desktop by double clicking on the icon.
    You can set up a similar direct link to the Editor application.
     

Maybe you are looking for