Can I use applescript to export a PDF file from keynote?

I use keynote to create documentation. Once complete I export the keynote to a PDF and then package the pdf into an adobe acrobat reader portfolio. I desperately need to script this process. Is it possible to export a PDF from keynote via applescript? The second 1/2 is can I tell acrobat reader to import files into a portfolio. Thanks much for any help.

I believe this is one of the few things Applescript can accomplish with Keynote '09. You can send keyboard short-cuts to Menu Commands in an Applescript – so you can just send a Cmd-P to KN'09. As for setting the Print/PDF options not sure but the dialogue remembers previous settings so you'd only have to set once at most per batch of slideshows. Post on Applescript thread to get specific scripting advice or Applescript developers email list.
Applescript Discussion
Applescript List

Similar Messages

  • What is the best way to use wi-fi to transfer pdf files from an ipad to a mac mini, not using an internet, just wi-fi.

    What is the best way to use wi-fi to transfer pdf files from an ipad to a mac mini, not using an internet, just wi-fi?

    If the Mac use Lion (10.7) you can use Airdrop for that.
    With Mac's not using Lion you may set up a computer to computer (ad hoc) connection.
    How to --> http://docs.info.apple.com/article.html?path=Mac/10.6/en/8339.html
    Lupunus

  • HT2506 hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • How can I use my time capsule to save files from my windows PC (Windows 8.1)?

    I have been to see the iStore close to where I live but I am frustrated to say that they are no help what so ever. The technical desk there freely admits that they do not how to do it and all they say is "apparently it is easy. Just follow the instructions on screen" which helps me no end!
    I have the Time Capsule set up on my mac and want to use part of the disc to save my files from my Windows PC (running Windows 8.1) that is on the same home network.
    I have found the apple forums so helpful in the past that I am pinning on my hopes on anyone that can help me via the forum now!

    Load the airport utility for windows. Sadly the most recent one is old.
    http://support.apple.com/kb/dl1547
    Although it is for windows 7 it does work on 8 and 8.1 .. tell us if you have problems loading it. Some people find it won't work without using safe mode.
    The utility will not help a lot to setup the latest model TC.. it is fine for Gen4 and earlier. But it does load bonjour for windows and a disk access agent.
    The TC should run simple names.. Short.. keep them below 10 characters if you can. No spaces and pure alphanumeric.
    That includes the base station name and wireless name.
    Once all of that is correct, open windows explorer and type in the address bar.
    \\TCname or \\TCipaddress where you replace TCname with the new short name or TCipaddress with obviously its actual IP.
    You will then get a request for username and password. Username is whatever.. admin will do. Password type in your disk access password.. public by default.
    TC is not designed to allow partitions so you cannot partition the TC disk. Create a folder and simply copy and paste your files to the folder.
    NOTE:: The TC cannot back itself up. So make sure you do not move files to the TC without having another copy.
    NOTE:: The TC does not happily mix TM backups and data.
    See http://pondini.org/TM/Home.html For info about TM and the TC.
    This area in particular.
    Q3 http://pondini.org/TM/Time_Capsule.html
    On mixing data and backups.

  • Can i use windows migration assistant to transfer files from my windows formatted external hard drive to my mac?

    I have a windows formatted external hard drive and a macbook pro. I was wondering if i could use the windows migration assistant to transfer files from my external hard drive to the mac

    No.
    Just connect the drive to your Mac. The Mac can read most Windows formats (it cannot WRITE Windows New Technology File System (NTFS) formatted drives.

  • HT4796 Can i use windows migration assistant to transfer files from a windows formatted hard drive to a mac?

    I have a windows formatted hard drive and a macbook pro. I was wondering if i could use the windows migration assistant to transfer files from my hard drive to the mac

    No.
    Just connect the drive to your Mac. The Mac can read most Windows formats (it cannot WRITE Windows New Technology File System (NTFS) formatted drives.

  • Can I use my 32c100u to playback .avi files from my computer? if so, how?

    I have a 32c100u  LCD  HDTV  that I bought in 2010.  Is there any way I can use it to play back .avi files that I have on my computer?
    I can't figure this out.
    Thanks for any enlightenment.

    Did you set it to copy full-resolution photos??? If so, enable your iPod for disk use, open my computer, click on your iPod, and open the pictures folder. You can just drag them from there. If you didn't, use a program such a CopyPod Photo (google it) to copy photos from your iPod. Note that the files will only be the same resolution as your iPod screen (320x240) and not worth using for anything else. If you want to use it for sharing, definitely go with the full-res option. It is at the bottom of the photos pane in the iPod screen in iTunes.

  • Can I use applescript to export PDF search results from "preview"?

    My question is about "Preview". I have a very large PDF document that I am using preview to view. After doing a search for a specific word, preview has returned 1200 results. The results panel shows the page number the result is found on and the line of text on which the searched-for-word is found.
    My question is this: Is there a way to export this information from preview to something like an excel file? The end result would look like a table with two columns. One with the page numbers and one with the line of text in which the word appears.
    Is this something that can be done with applescript? I don't know if the system even stores that kind of information... /sigh. Any help is appreciated.

    Using Preview.app, I have done a search for the word “AppleScript” in the PDF version of the AppleScript Language Guide. Then, I have used the following script to retrieve the information displayed in the results panel.
    tell application "Preview" to activate
    tell application "System Events" to tell process "Preview"
    return value of text field 1 of rows of outline 1 of scroll area 2 of splitter group 1 of window 1
    end tell
    --> {missing value, "AppleScript Language Guide (Page 1)", "AppleScript Language Guide (Page 1)", "Contents (Page 4)", "Contents (Page 4)", "Contents (Page 9)", "Figures, Tables, and Listings (Page 11)", "Figures, Tables, and Listings (Page 11)", "Introduction (Page 14)", "Introduction (Page 14)", "Introduction (Page 15)", "Introduction (Page 16)", "AppleScript Lexical Conventions", "Identifiers", "Keywords", "Literals and Constants", "Record", "Variables", "Statements", "Raw Codes", "AppleScript Fundamentals", "Script Editor Application", "What Is in a Script Object", "Properties", "What Is in an Object Specifier", "Absolute and Relative Object Specifiers", "Object Specifiers in Reference Objects", "Coercion (Object Conversion) (Page 32)", "Coercion (Object Conversion) (Page 32)", "Scripting Additions", "Types of Commands", "Parameters That Specify Locations", "AppleScript Constant", "text item delimiters", "version", "true, false Constants", "The it and me Keywords", "Specifying Paths", "Working With Files", "eppc-Style Specifiers", "Debugging AppleScript Scripts", "Third Party Debuggers", "Defining Properties", "Local Variables", "Using the copy and set Commands", "Scope of Variables and Properties", "Scope of Properties and Variables Declared in a Script Object (Page 54)", "Scope of Properties and Variables Declared in a Script Object (Page 54)", "Scope of Properties and Variables Declared in a Script Object (Page 55)", "Scope of Variables Declared in a Handler", "Script Objects", "Defining Script Objects", "Initializing Script Objects", "Inheritance in Script Objects", "Defining Inheritance Through the parent Property", "Using the continue Statement in Script Objects (Page 63)", "Using the continue Statement in Script Objects (Page 63)", "Defining a Simple Handler", "Handlers with Labeled Parameters", "Handlers with Patterned Positional Parameters", "Recursive Handlers", "Calling Handlers in a tell Statement", "Saving and Loading Libraries of Handlers", "idle Handlers", "Calling a Script Application From a Script", "alias", "application (Page 80)", "application (Page 80)", "boolean (Page 83)", "boolean (Page 83)", "class", "constant", "date (Page 87)", "date (Page 88)", "integer", "list (Page 91)", "list (Page 91)", "real", "record (Page 95)", "record (Page 95)", "script", "text (Page 98)", "text (Page 99)", "text (Page 100)", "text (Page 101)", "text (Page 102)", "unit types", "Commands Reference (Page 107)", "Commands Reference (Page 107)", "activate", "ASCII number", "copy", "count", "display dialog (Page 127)", "display dialog (Page 127)", "do shell script", "get", "get eof", "launch", "open for access", "path to (application)", "run", "run script", "say", "set (Page 155)", "set (Page 155)", "summarize", "system info", "write", "Arbitrary", "Filter (Page 169)", "Filter (Page 169)", "ID", "Index", "Middle", "Operators Reference (Page 179)", "Operators Reference (Page 181)", "Operators Reference (Page 181)", "Operators Reference (Page 182)", "Operators Reference (Page 183)", "Operators Reference (Page 184)", "Operators Reference (Page 185)", "Operators Reference (Page 186)", "text (Page 102)", "Examples", "date (Page 87)", "considering / ignoring (text comparison) (Page 194)", "considering / ignoring (text comparison) (Page 194)", "considering / ignoring (application responses)", "error Statements", "error", "if (compound)", "exit", "repeat (forever)", "repeat until", "repeat while", "repeat with loopVariable (from startValue to stopValue)", "repeat with loopVariable (in list)", "tell Statements", "tell (compound)", "try (Page 208)", "try (Page 208)", "using terms from Statements", "with timeout", "with transaction", "continue", "return", "Handler Syntax (Labeled Parameters)", "Calling a Handler with Labeled Parameters (Page 217)", "Calling a Handler with Labeled Parameters (Page 217)", "Handler Syntax (Positional Parameters)", "Folder Actions Reference", "adding folder items to", "closing folder window for", "opening folder", "removing folder items from", "Appendix A: AppleScript Keywords (Page 227)", "Appendix A: AppleScript Keywords (Page 228)", "Appendix A: AppleScript Keywords (Page 229)", "Appendix A: AppleScript Keywords (Page 231)", "Appendix A: AppleScript Keywords (Page 231)", "Appendix A: AppleScript Keywords (Page 232)", "AppleScript Errors", "Operating System Errors", "Catching Errors in a Handler (Page 238)", "Catching Errors in a Handler (Page 238)", "Simplified Error Checking", "When a Dictionary Is Not Available", "Entering Script Information in Raw Format", "List of Unsupported Terms", "Glossary (Page 245)", "Glossary (Page 246)", "Glossary (Page 247)", "Glossary (Page 249)", "Glossary (Page 249)", "Glossary (Page 250)", "Revision History", "Symbols", "B (Page 254)", "B (Page 254)", "G", "I", "M", "R", "S"}
    Many items don't have any page number. Is that what you are asking for?

  • How to export a PDF file from greek language?

    It seems that the greek language is not recognised in the export procedure from pdf to word documents...
    Is there a way I can install it?
    Thanks in advance.
    Katerina P.

    Export how: using Acrobat, or the ExportPDF online service?

  • Loosing images when exporting to pdf file from Indesign?

    I didn't have this problem before, however as I started using the master page presets some of the pages are not saving properly to pdf version. The master sheets doesnt show up on some of the pages but shows up on others.
    Does anyone know why that is?

    It does not show in preview.
    It shows in the indesign file, but not in preview. The stuff that disappears are from the master page, they show on some pages but not on others. Which is very strange.
    I have taken more shots.
    Master F sheet is applied for this page.
    The other page i posted previously started working when I applied a different master sheet over it.

  • IBook can't open a 5.6 MB PDF file from hardwarezone price list.

    Ipad mini only show blank pages when I open a 5.6MB. Problem persist after 10x of power cycle. Sometime my ipad mini just hang.

    TINTIN2893 wrote:
    Just to bring up to Apple, so that they can fix it.
    For that you should repost it at
    http://www.apple.com/feedback/ibooks_ios.html

  • How to mail pdf file from oracle database 11g

    Hi,
    Using following code to send pdf file from oracle database.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := '116.214.31.249';
    v_Mail_Conn sys.utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    BEGIN
    v_Mail_Conn := sys.utl_smtp.Open_Connection(v_Mail_Host, 26);
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    sys.utl_smtp.Mail(v_Mail_Conn, v_From);
    sys.utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    sys.utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    sys.utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Above code executed successfully and mail is send to recipient but file is corrupted.
    I think it doesn't pick file from specified location, attachment name is appearing like this 'D:mailpdfsample.pdf
    Oracle Database : 11g R2
    O.S : windows 7 Professional
    Thanks in Advance

    parapr wrote:
    sys.utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);The above violates RFC 5321 section 4.1.1.1
    '-------SECBOUND'|| crlf ||
    'Content-Type: file;'|| crlf ||
    ' name="D:\mail\pdfSample.pdf"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="D:\mail\pdfSample.pdf"'|| crlf ||Invalid Mime header above. Filename are logical. Not physical. Loose the drive and directory names. The filename is there to name the Mime body's content.
    crlf ||
    'CSV,file,attachement'|| crlf ||     -- Content of attachmentHow is the above PDF content? This is a string containing the text CSV,file,attachement. Which means when this is what is saved as a PDF file by the mail reader.
    EXCEPTION
    WHEN sys.utl_smtp.Transient_Error OR sys.utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;Silly. Why change meaningful exceptions into a generic meaningless exception?? That does not make any sense.

  • HOW TO CREATE PDF FILES FROM AUTOCAD 12

    I'M USING ACROBAT X TO CREATE PDF FILES FROM AUTOCAD 12 DRAWINGS.  THE PROGRAM RANDOMLY LEAVES OUT TEXT AND IMAGES.  IT ALSO STRUGGLES WITH TIFF, JPEG AND PDF IMAGE FILES EMBEDDED WITHIN THE AUTOCAD DRAWING.  THIS HAS BEEN AN ONGOING PROBLEM WITH ACROBAT.  I WAS HOPING THE UPGRADE TO  X WOULD ELIMINATE THE PROBLEM BUT IT HAS NOT.

    Hi Joao,
                    Verify these links hope it may helps...
    http://www.devx.com/xml/Article/16430/1954
    http://technopaper.blogspot.com/2008/06/using-xsl-fo-to-create-pdf-files.html
    http://www.ibm.com/developerworks/xml/library/x-xslfo/
    http://www.antennahouse.com/XSLsample/XSLsample.htm
    Regards,
    Anil.

  • Can I use preview to export multiple page PDF as jpegs?

    Using Preview, I export multiple page PDF as jpeg and results are the first page only as jpeg. Can I use preview to export multiple page PDF as jpeg for every page?

    Automator is great for this if you need to export many pages to JPG, or just have to do this often.
    Two other quick and dirty way sto get it done:
    (1) Enable thumbnail view, click on the ONE PAGE you want to convert to jpg, then choose "export." If you choose more than one page, only the first will get exported to jpg.
    (2) Create a copy of the file, delete all the pages except the one you want to export to JPG, and export that page. You may be able to "undo" the delete, get all your pages back again, and re-delete all but the one you want to export, etc. I would not recommend doing this on the original version of the file because of Preview's autosave so-called "feature."

  • Can I use Bridge to export image data into a .txt file?

    I have a folder of images and I would like to export the File Name, Resolution, Dimensions and Color Mode for each file into one text file. Can I use Bridge to export image data into a .txt file?

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

Maybe you are looking for