5.6.1 pages how to insert a file name

In previous versions of Pages I could insert the file name or the full path of a document in the foot. I create multiple documents for our society. This has been invaluable when changes had to be made to a document or form. I can't find this option in Pages 5.6.1. Where at - it go? How can I insert a file name?

Pages v5 (all versions) has been a complete rewrite - no no from the Pages ' 09. Insert menu: file name was never added to the application. There is no provision in the application of v5 Pages to insert the entire path either.

If you click on the document name in the title bar, a Panel opens with the file name have been screened, and paste that in your footer. He was never a capacity in Pages ' 09 to insert a path of the document.

The following AppleScript will display a POSIX path for the currently open document in Pages. It will support installation of Pages three different scenarios:

  1. V5 installed only with the open document pages
  2. Pages ' 09 installed only with the open document
  3. V5 pages and Pages ' 09 installed and running with open document

Launch the Script Editor (Launchpad: others: Script Editor). Copy and paste the AppleScript in Script Editor. All text will be purple (normal). Click on the hammer icon to compile. Now the text is mixed of colors (good). Two successive stops:

  1. File menu: Save... File name: Pages_path. When you select the text in the File Format: selector, applescript is added file name. No other check boxes, and then save in your Documents folder. It is the only source.
  2. File menu: Option key: Save under... Pages_path. Since the File Format: selector, select Application. A .app extension will be added file name. Click on the box to hide the Extension. Save to your desktop. This is the clickable application.
  3. When you want the complete path of the open document, you click on the Pages_path icon on your desktop and a dialog box is displayed. Select, copy and paste this path into your Pages document.

-Pages_path - display the full path of the current document

-path can be copied and pasted into the dialog box in the document

-Manages three scenarios

(1) pages v5 only

(--2) pages ' 09 only

(--3) pages ' 09 and v5 both installed, but a race

game of p9 to ((path to the applications folder) as text) & ' iWork ' 09: "&" Pages.app: "

if (version of application 'Pages') is superior to "4.3" then

-All Pages v5 release open with document

say application 'Pages' to the value document_path to POSIX path of ((front file) document in the text)

else if there are (p9) then

-Pages ' 09 open with the document

say my front document to set document_path to path it request p9

on the other

-OS X App Store Pages ' 09 only installed

say application 'Pages' to the value document_path in front of path

end if

display the dialog box "Path of current document" & return & document_path as text

return

Tags: iWork

Similar Questions

  • How to change a file name in the Photos? (no title)

    I know how to change the title of a photo in the Photos.  But I do not see how you change a file name.  Can anyone help?

    Photos will not change an imported file.  The original master image file is preserved. You can't even change the file name.

    To change the name of the file, export the Photos photo: file > export, and then specify a different file name in the export Panel.

    Re-import the renamed picture, then delete the first version you imported.

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • How import/insert a file Animate CC 2015 HTML 5 canvas in a file HTML in Dreamweaver?

    I create a web site with Dreamweaver based.  I also created an Animate CC 2015 HTML 5 file with some animations.

    How can after I publish the Animate file, I work with it in Dreamweaver to integrate it into one of the page HTML in Dreamweaver?

    Please notify.

    Thank you.

    Hello

    Animate CC 2015 comes with the ability to publish the OAM file for your Web of HTMl5. Please see the link below which explains how to create a file OAM in CC host and how to insert an OAM file in Dreamweaver.

    https://helpx.Adobe.com/Dreamweaver/how-to/export-OAM-files-animate-website.html

    Kind regards

    Vivek

  • How to insert vidio file in the oracle database

    Hi Experts,

    Can you please tell me, how to insert video in the oracle database.
    and what are the formats it supports.

    Thanks in advance,
    Sanjeev,

    To do this, you don't need an expert, you only need the capacity and the ability to googleor search this forum.
    This question was asked here several times by people who, like you, have refused to use online resources.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • How watermark with the file name?

    I've searched and searched and I can't find an easy way to do this... but it MUST be possible!

    Some (really clumsy) Solutions, I found:

    1. I can create a .csv with two columns, each list of filename for each image in a folder.  Then, using variables in PS, I use the first column as a variable image replacement and the 2nd column as a text replacement variable to export the files.  This solution is both your time and creates images that are all the same size.
    2. LR/Mogrify plugin 2 - what might do the trick, but it doesn't seem to work with the latest version of LR
      • (I get this error: an internal error occurred: LRCatalog; withCatalogDo has been marked obsolete in Lightroom 2.0 and is not supported from Lightroom 3.0) This call is necessary.)
    3. Somehow use a droplet, pulling on the name of the metadata file to generate a watermark text... which I can't figure out how to do.

    How can this be complicated?  There must be a clear Super button, Miss me him somewhere in LR, because I can't imagine NOT having need of this feature.

    Help, please!

    You can do it in the slideshow module. By clicking on the ABC button on the toolbar and choosing the file name in the menu dropdown. You can drag the text box anywhere to anchor it in the Center, downstairs, etc. top of page. You can print a whole batch to PDF. See image:

  • If export all Pages HTML or CSS, what file name to enter?

    When I want to export all pages in my png file to HTML or CSS, what filename must enter - the file name for the first page or the name of the file on the master page?  Is how important it?  Why ask that question if it exports a separate file for each page?

    OK, I had some time to test this. It doesn't matter what you name the file that all pages will be exported as the name. I will not name test of mine and he has not shown, is just page names. I used the html and images option and unchecked current page only.

  • How to upgrade the file name in a loop

    Hello

    I try to use the value input (voltage, current) as file name in a while loop. the voltage and current are increment in the while loop.

    I want to save a file in each iteration and the name of the file is C:\voltage_current.csv.

    Someone at - it how to update the name of the file in a loop?

    Thank you

    Tian

    The easiest way I can think of that would add to what follows in the loop: number in fractional string to convert these values into strings and String Concatenation to create the correct file name.  Also concatenate file name with the path of your backup location.  Finally convert the string path.

    Unfortunately my current computer is not installed LabVIEW, so I can't create a nice demo.  But you should be able to wire just those together without too much confusion.  It will look as follows:

    ["C:/path/goes/here/"] -----------------------> [                      ]

    [voltage]--> [fractional number string]--> []---> [string path]-->

    ["_"]    -------------------------------------> [       String         ]

    [current]--> [fractional number string]--> [concatenation]

    [".csv"] -------------------------------------> [                      ]

    The only question I could foresee is if you come across the same voltage/current.

    For example:

    -Voltages and currents

    1                    2

    2                    2

    3                    2

    4                    2

    1                    2

    You may obtain the names of files as follows:

    1_2.csv

    2_2.csv

    3_2.csv

    4_2.csv

    1_2.csv * error.  Depending on your settings, this results in the file overwritten, raise an error or be added.

    Take this into account if you have not only different combinations for each file.

  • How to create random file names

    I have a folder containing 600 JPEG files. I want to replace the current file with those randomly generated names. So instead of files names IMG_11.jpg, IMG_12.jpg, IMG_13.jpg, I don't want to see something like 342.jpg, 8.jpg 107.jpg.

    Could someone smart give me a code that would do this. I want to change ONLY the names of files in this folder.

    I need simple instructions and comprehensive on how to run the code, suitable for a young man is no longer in the brain.

    I DON'T want TO change the name of each file by hand. I CERTAINLY DON'T want TO cut-and - paste or other references to Movie Maker or any other manufacturer of trade show.

    Please read each question carefully before answering. I tried to ask before and gotten completely irrelevant responses that make me tired.

    Hi David,

    Thanks for posting the question in the Microsoft Community.

    Unfortunately, you will not be able to run a code to change the names of files in bulk. However, you can try to look for a third-party software that might help.

    Note: using third-party software or a link, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third party software or link can be resolved. Using third-party software or a link is at your own risk.

    Thank you.

  • How to get the file names?

    Hello

    I have two questions,

    1. I have a set of xml files in a folder in a blackberry. I need to be able to read the contents of the folder that is read all the names of the xml files and be able to display them. How should I do for this?

    2. the samples of the fileconnection class containing all to access the .txt files. Is it not possible to read other files and .xml files?

    just give the path up to the last directory...

    try {}
    FileConnection fconn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/documents",Connector.READ_WRITE);
                  
    If (! fconn.exists ())
    {
                          
    Enumeration e = fconn.list ("*", true);

    }

    This will retrieve all the file name in the folder of document...

    See you soon!

  • BlackBerry Z10 how to display the file names of the images?

    I bought an App to recognize the flowers. My blackberry shows photos, but not the names of the plants. That's why I need to see the file names of the images. How do I handle this, STI is possible?

    Use the file manager with your device application.

  • associate a file extension with my executable, how to receive the file name?

    Hello
    I use flaslh profresional to create this application: Edit_epl.exe

    I have install the application.

    I'm doing a file association extension because I want to do: when double-clicking a file with the extension '.elp', and then runs Edit_epl.exe.

    example doubleclick on: 'my_sample.epl'-> then tracks Edit_eplp.exe.   So far so good.

    My question is how do you know its file name (my_sample.epl) as a 'parameter' inside the 'Edit_eplp.exe '.

    Can someone help me?

    Thank you

    I solve it!

    Question:

    I want to click on a text for example file hello.txt, with the content: "my name is Fernando.

    1 - create a My_edit_txt.exe application (with a single text_field, MY TEXT)

    2. install the application.

    3 associate the extension txt with my editor: My_edit_txt.exe

    4 - when I click on hello.txt,

    5 - the system starts-> My_edit_txt.exe (works good so far)

    6. so I don't know: inside My_edit_txt.exe:

    What the user clicked file?

    Resolution:

    NativeApplication.nativeApplication.addEventListener (InvokeEvent.INVOKE, onInvoke);

    package silbo.esment.general.base_juegos

    {

    import flash.desktop.NativeApplication;

    import flash.display.MovieClip;

    import flash.events.InvokeEvent;

    import flash.text.TextField;

    SerializableAttribute public class Clip_editor_epl extends MovieClip

    {

    public var t_texto:TextField;

    public void Clip_editor_epl()

    {

    Super();

    NativeApplication.nativeApplication.addEventListener (InvokeEvent.INVOKE, onInvoke);

    }

    function onInvoke(event:InvokeEvent):void {}

    mitrace ("on call");

    mitrace ("ARG =" + Event.arguments);

    mitrace ("file to open:" + event.arguments [0]);

    }

    function mitrace (piece) {}

    {if(Trozo==null)}

    Piece ="";

    }

    t_texto. AppendText (piece + "\n");

    }

    } //clase

    }

  • Export pages to jpg with custom file names

    Hello world

    I found - and slightly modified - this script that exports each InDesign page in jpg format, naming it with the relative page number.

    I need to assign the value of a text that I have placed on each page, which is decorated with a paragraph called "filename" style file name

    It would also be good to have user-friendly web file names, replacing spaces with dashes and turn them into tiny.

    Thanks in advance for your help.

    if (app.documents.length != 0) {
         var myDoc = app.activeDocument;
        MakeJPEGfile();
    }
    else{  
         alert("Please open a document and try again.");  
    } 
    
    function MakeJPEGfile() { 
         for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++) {
             
              if (myDoc.pages.item(myCounter).appliedSection.name != "") {
                   myDoc.pages.item(myCounter).appliedSection.name = "";
              }
              var myPageName = myDoc.pages.item(myCounter).name;
              app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high; // low medium high maximum
              app.jpegExportPreferences.exportResolution = 72;
              app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
              app.jpegExportPreferences.pageString = myPageName;
    
              var myFilePath = "~/Desktop/" + myPageName + ".jpg";
              var myFile = new File(myFilePath);
              myDoc.exportFile(ExportFormat.jpg, myFile, false);
         }
    }
    

    This code is the same as above, but with a few modifications and a new fuction

    if (app.documents.length != 0) {
         var myDoc = app.activeDocument;
        MakeJPEGfile();
    }
    else{
         alert("Please open a document and try again.");
    } 
    
    function MakeJPEGfile() {
         for(var myCounter = 0; myCounter < myDoc.pages.length; myCounter++) {
    
              if (myDoc.pages.item(myCounter).appliedSection.name != "") {
                   myDoc.pages.item(myCounter).appliedSection.name = "";
              }
              var myPageName = myDoc.pages.item(myCounter).name;
              var myJpegPrefix = "";
              var isStyleExist = true;
    
              //Checking the existing of the paragraph style (filename)
              try {
                  myDoc.paragraphStyles.item("filename");
              }
              catch (myError) {
                  isStyleExist = false;
              }
    
              if (isStyleExist)
                myJpegPrefix = getParagraphContent(myDoc.paragraphStyles.item("filename"), myDoc.pages.item(myCounter)) + myPageName;
              app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high; // low medium high maximum
              app.jpegExportPreferences.exportResolution = 72;
              app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
              app.jpegExportPreferences.pageString = myPageName;
    
              var myFilePath = "~/Desktop/" + myJpegPrefix + ".jpg";
              var myFile = new File(myFilePath);
              myDoc.exportFile(ExportFormat.jpg, myFile, false);
         }
    }
    
    // The new function, but needs to add checking the file name rules.
    
    function getParagraphContent (paragraphStyle, currentPage) {
        var paragraphContent = "";
        for (var c = 0; c < currentPage.textFrames.length; c++) {
            for (var i = 0; i < currentPage.textFrames.item(c).paragraphs.length; i++){
                if (currentPage.textFrames.item(c).paragraphs.item(i).appliedParagraphStyle == paragraphStyle) {
                    paragraphContent = currentPage.textFrames.item(c).paragraphs.item(i).contents;
                    return paragraphContent;
                }
            }
        }
        return paragraphContent;
    }
    

    Lack of check file naming rules.

  • How to get the file name of IOErrorEvent

    I have charge "test.swf" file. If file not found how to show dynamically don't find it not file name.

    var url: String = "test.swf";
    var loader: Loader = new Loader();
    loader.contentLoaderInfo.addEventListener (IOErrorEvent.IO_ERROR, ioErrorHandler);
    var request: URLRequest = new URLRequest (url);
    Loader.Load (request);


    function ioErrorHandler(event:IOErrorEvent):void {}
    trace ("ioErrorHandler:" + event);
    }

    Yes, as it should... url is a property to a valid media you are loading.

    Think - I do not think there is a native way of reading URLRequest url on the charger. But the requested URL can be read out of the event text property. Not very elegant but it does the trick:

    function ioErrorHandler(e:IOErrorEvent):void
    {
         var pattern:RegExp = /(?<=URL:\s).+/g;
         trace(e.text.match(pattern));
    }
    
  • How to insert the file between the records in the database file

    Hi, I'm working on the project in which I need reading / writing of .mdb file. I am able to write data to the file, but I am not able to write data between two records. It's that I have to insert a few lines of data between the records in the file.

    Can someone tell me how to do? I really stuck with this problem.

    vaibhav

    Thank you
    In fact it was the problem with version 8.5.
    When I installed 8.5.1 it solved.

Maybe you are looking for

  • Satellite 2HW C855: win 8-10GB recovery partition can be removed?

    For my Satellite C855-2HW with Win 8 OEM, I would like to a partition to separate data in addition to the OS + programs.At present 4 scores are already in use.First 450MO partition recovery, the second a third EFI 260 MB, of the score of 920 GB opera

  • Property of local network access

    After installing SP2 insufficient right SP2 to the ownership of network access

  • Can not find SSDS in Satellite S50-B-15N

    Hello. I just bought a S50-B-15N Satellite, which is supposed to have an 8 GB SSD and a 1 TB drive. I can see the hard 1 TB but could not find anything to do with the SSD drive in my computer or in 'manage the device '. Anyone got any ideas?

  • Regain control of my Facebook account

    When I receive my account. The answer to my security question has been changed. There was another email attached someone can help me to connect on my page and tighten.   

  • ID of Instance composite BPM ADF mode

    HelloI want to pass the ID of the composite instance BPM to display the SQL property of the object. I tried to use taskController.taskView.selectedParentTask.compositeInstanceId in bind variable from view of the adf, but unfortunately it did not work