Automator Workflow to export Numbers documents in PDF format

Does anyone know of any automator workflow to export Numbers documents in PDF format? I tried this program: Convert to PDF 1.2
http://www.apple.com/downloads/macosx/automator/converttopdf_mauriziominelli.htm l
But it gives an error.

Reading carefully is often useful.
The description of the tool which you tried clearly states :
*About Convert to PDF*
*_Convert all of your text files to PDF_. This action uses the underlying cups printing system ability to convert files, it’s a simple front end to the command line tool cupsfilter.*
As far as I know, but maybe you don't, *_a Numbers document isn't a text file._*
I already posted a script exporting Numbers documents as PDF.
Here is an enhanced version which apply only to Numbers '09 (or maybe higher) :
--[SCRIPT save2Numbers&PDF.app]
Enregistrer le script en tant que Script : save2Numbers&PDF.scpt
déplacer le fichier créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
aller au menu Scripts , choisir Numbers puis choisir save2Numbers&PDF
Le script enregistre le document au format natif de Numbers
et l'enregistre dans un fichier PDF.
S'il existe déjà un PDF homonyme, il est renommé en lui ajoutant une chaîne
construite sur sa date de modification.
--=====
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".
+++++++
Save the script
as a Script: save2Numbers&PDF.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
go to the Scripts Menu, choose Numbers, then choose save2Numbers&PDF
The script saves the document in the native Numbers format and saves it in a .pdf file
If such a .pdf already exists, it is renamed with a stamp matching its modification date.
--=====
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
--=====
Yvan KOENIG (VALLAURIS, France)
modifié 2010/08/17
property closeIt : true
(* true = closes the saved document
false = doesn't close it *)
property theApp : "Numbers"
property theExt : "numbers"
--=====
on run
tell application theApp
activate
set le_document to front document
if modified of le_document then save le_document
delay 0.2
set thePath to path of document 1
end tell -- theapp
set {xPath, xExt} to my saveAs(thePath)
if closeIt then tell application theApp to close document 1 saving no
end run
--=====
on saveAs(p)
local extension_export, type_export, nomde_loriginal, dossierde_loriginal, nomde_lexport, cheminde_lexport
set {extension_export, type_export} to {"pdf", "LSDocumentTypePDF"}
set {nomde_loriginal, dossierde_loriginal} to my quelNomEtDossier(p)
if nomde_loriginal ends with theExt then
• replace the original extension by the xExt one *)
set nomde_lexport to (text 1 thru -(1 + (length of theExt)) of nomde_loriginal) & extension_export
else
• add the xExt extension name *)
set nomde_lexport to nomde_loriginal & "." & extension_export
end if
set cheminde_lexport to dossierde_loriginal & nomde_lexport
• CAUTION, When saving, Numbers doesn't take care of an existing document.
It replaces it by the new one. *)
tell application "System Events"
if exists (file cheminde_lexport) then
Playing safety, we rename the existing file by inserting a modificationdatetime stamp *)
set name of file cheminde_lexport to (text 1 thru -(2 + (length of extension_export)) of nomde_lexport) & my horoDateur(modification date of file cheminde_lexport) & "." & extension_export
end if
end tell -- System Events
• save as type_export document *)
tell application "Numbers" to save document nomde_loriginal as type_export in cheminde_lexport
return {cheminde_lexport, extension_export}
end saveAs
-- =====
on quelNomEtDossier(f)
local nom, dossier
tell application "System Events" to tell file (f as Unicode text)
set nom to name (* Unicode text *)
set dossier to path of container (* Unicode HFS path *)
end tell -- to System Events
return {nom, dossier}
end quelNomEtDossier
--=====
• Build a stamp from the modification date_time
on horoDateur(datedemodification)
local les_secondes
set les_secondes to time of datedemodification
return ("_" & year of datedemodification & text -2 thru -1 of ("0" & (month of datedemodification as integer)) & text -2 thru -1 of ("0" & day of datedemodification) & "_" & text -2 thru -1 of ("0" & les_secondes div 3600) & text -2 thru -1 of ("0" & (les_secondes mod 3600) div 60) & text -2 thru -1 of ("0" & les_secondes mod 60))
(* Here, the stamp is "YYYYMMDDhhmmss" *)
end horoDateur
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 18:16:27

Similar Messages

  • Why does the gradient disappear when I export my document to PDF?

    I have used gradient tool on simple black lines to make them fade out as they reach the edge of the document. When I export the document to PDF the lines are simply black, no gradient whatsoever. I'm a beginner at this. I'm putting together something for a wedding, and really need to fix this pronto! HELP!

    Version of InDesign? OS? Print or Export to PDF and settings used?
    What sort of gradient did you apply? Some screen shots of the line in ID and the PDF would help.

  • Does anyone have automator workflows for iWork Numbers that will run in Lion?

    Does anyone have automator workflows for iWork Numbers that will run in Lion?

    can you be a little more specific as to what your looking to do? There are some great Applescript gurus on this forum that are very able to help with automating numbers.
    Jason

  • Unable Export Indesign document  to RTF format

    PMString inrtfPath1("C:\\exind1.rtf") ;<br />IDFile inrtfpath(inrtfPath1) ;<br />InterfacePtr<IK2ServiceRegistry> theRegistry(gSession, UseDefaultIID());<br />               ASSERT_MSG(theRegistry != nil, "Could not get IK2ServiceRegistry from session");<br /><br />               for(int32 iProvider = 0; iProvider < theRegistry->GetServiceProviderCount(kExportProviderService); ++iProvider)<br />               {<br />               // Get the service provider boss class<br />               InterfacePtr<IK2ServiceProvider> theProvider(theRegistry->QueryNthServiceProvider(kExportProviderService, iProvider));<br />               ASSERT_MSG(theProvider != nil, "Could not get IK2ServiceProvider from list");<br /><br />               InterfacePtr<IExportProvider> theExportProvider(theProvider, IID_IEXPORTPROVIDER);<br />               ASSERT_MSG(theExportProvider != nil, "Could not get IExportProvider from service provider");<br /><br />               IActiveContext* theContext = gSession->GetActiveContext();<br />               if(theExportProvider->CanExportThisFormat(doc, theContext->GetContextSelection(),"Rich Text Format" /*"Sangam Rtf Export" <br />//))// "HTML"))// "Adobe PDF"*/))<br />               {<br />               // Create a PDF from the document<br />               CAlert::InformationAlert("can export");<br />               theExportProvider->ExportToFile(FileUtils::PMStringToSysFile(inrtfPath1) , doc, theContext->GetContextSelection(),"Sangam Rtf Export" /<br />/*"Adobe PDF"*/, kSuppressUI);//kSuppressUI);<br />               }<br />               }<br /><br />I tried using "Rich Text Format" , "RTF" and "Sangam Rtf Export" but CanExportThisFormat fails.<br />Export file create .rtf file with 0 size without containing any data.<br /><br />With above code I am able to Export document as Adobe Pdf only other formats like TEXT , XML , HTML, RTF are failed.<br /><br />Please give some solution to

    When I set ExportToFile() function's last parameter to kFullUI ,
    I get one Export JPEG window and
    then error :-
    "exind1.rtf" is already open by "^2".
    You don't have permission to change the file.
    After showing this message
    one progress bar is shown and after that SVG options window is shown.
    then one progress bar is shown and then one window of Adobe Indesign Tagged Text Options is displayed . When I click on Okof this window.
    Rtf file is created without containing ant data.
    Please give some solution for exporting indesign document to RTF format.
    Regards,
    Pallavi.

  • Problem with scanning document in PDF format to computer

    has anyone had a problem with scanning to the computer a document in pdf format from hp Photosmart 7525  e-All-in-One series wireless printer? The document appears in My Documents but when I try and open the document I get an error message that says the document cannot be opened. I can scan and open the document in TIF format. I am running Windows 7 Home Premium and I just installed the Photosmart 7525 printer. I've uninstalled and reinstalled the printer using the CD download.
    This question was solved.
    View Solution.

    Hi,
    Can you open other pdf files ? Do you have Adobe Reader in your computer ? Please download and install it on your machine then try to open file(s) again:
       http://get.adobe.com/reader/
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I can no longer print any document in PDF format. Not sure why

    I can no longer print any document in PDF format. Not sure why? When I try to print, the document saves to my hard drive as a PDF and will not allow me to print? Never had this issue before. Any thoughts?

    Print to file is in the main print dialog (on Acrobat 9.x) as opposed to under Advanced

  • Print BDS document(in PDF format) from SAP R/3

    Hello ,
    I have a requirement to print BDS document(in PDF format) from SAP R/3 without user interaction.
    In simple way, if I execute the program - PDF document will get printed on local default printer.
    Please help me if anybody worked on similar requirement.
    Thank you very much,
    Liliya

    Hi Liliya,
    First you should create a smartform for BDS  Layout and give output parameter like this..
      wa_param-langu     = sy-langu.
      wa_param-no_dialog = 'X'.
      wa_param-getotf = 'X'.
      wa_param-DEVICE = '     '.                               " (here you can give the path of your printer)
      lv_output_options-tdnewid = 'X'.                      "Print parameters,
      lv_output_options-tddelete = space.                "Print parameters,
      lv_output_options-tdnoprev    = 'X' .
       lv_output_options-TDIMMED    = 'X' .               " it will give the immediate output of form in given output device
    I hope it will help you.....
    Enjoy...

  • Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted

    Hi Gurus,
    I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
    •             Project submitted to the TRC
    Result in PDF format:
         • ProjectsubmittedtotheTRC
    I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
    Please help me as it is frustrating a lot
    I would highly appreciate for your quick response 

    Was there ever a solution found for this as i have the same issue.
    When bullet point is entered in a field all the spaces are removed when exported to PDF
    i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
    Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
    Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
    This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
    Thanks in advance,
    Mark Brunton
    brunzire

  • How do i change a scanned document to PDF format?

    how do i change a scanned document to PDF Format"?

    Hi,
    If you are looking for an online service to convert your scanned document to PDF, you might consider using Adobe CreatePDF.
    https://www.acrobat.com/createpdf
    Regards,
    Brian

  • When saving documents in PDF format a .txt document is also created and saved

    When saving documents in PDF format to the my documents folder on a PC a .txt document is also created and saved, does anybody know the where the setting is that allows this functionality (duplicate document in txt format) to be switched off thanks.

    When saving documents in PDF format to the my documents folder on a PC a .txt document is also created and saved, does anybody know the where the setting is that allows this functionality (duplicate document in txt format) to be switched off thanks.

  • I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    Does this essentially mean there is no way to fix this problem on my end? It's a pity because the design and branding of my brochure will suffer if I remove transparencies and use different fonts. It also concerns me moving forward because it means the quality of print on my pieces will be significantly lower because most commercial printers use Adobe products.

  • I am trying to scan a document into PDF format but PDF is not coming up as an option. What can I do?

    I am trying to scan a document into PDF format but PDF is not coming up as an option. What can I do?

    Can your scanner software create PDF documents?

  • Can we export search results in PDF format in OAF?

    Hi,
    Can we export search results in PDF format using export button in OAF?

    No. Only CVS format is supported right now.
    --Shiv                                                                                                                                                                                                           

  • How can I convert a Microsoft Publisher document to PDF format. I have free version of Acrobat.

    How can I convert a Microsoft Publisher document to PDF format. I have free version of Acrobat.

    Hi raythree,
    I'm sorry that your PDF conversion is working. Can you please tell me if you're getting a specific error message? Knowing that can help pinpoint the cause of the conversion failure. However, here are a couple of things that you could try:
    Clear your browser cache (steps to do this vary by browser).
    If you're using a work computer, check with your IT team to confirm if you have firewall/proxy settings that restrict the ability to upload files to the Internet.
    Try another web browser.  A list of supported browsers for accessing the ExportPDF service is available here: http://www.adobe.com/acom/systemreqs/.
    Also, note that there is a 100MB file size limit, so if your publisher file is larger than that, it won't upload to ExportPDF.
    I hope this helps. But let us know if you need further assistance.
    Best,
    Sara

  • Exporting Numbers sheet to pdf but keeping formulas?

    Hi!
    I want to know if it's possible to export a Numbers sheet to .pdf in a way that let's me keep the formulas? My goal is to create a pdf which let's the user answer a series of questions where the answers create a result and a couple of diagrams. I have it all drawn out in Numbers but can't figure out how to create a pdf out of this. If I export the sheet to pdf the formulas disappear....
    Please help me!
    Thanks!

    Hi Owen,
    This seems to be a good candidate for the sharing function in Numbers 3 rather than a pdf. You simply send the person the link to the spreadsheet. They enter some data right through their browser and (since, unlike with a pdf, the formulas are there) they will see the results and the charts change on their end. They don't need to have a Mac or Numbers installed; just any computer with a modern browser.
    That works well for one user at a time. If you have different users who will each be inputing different things you can set up multiple copies of your document and share each one to a different person.
    If they have a modern Mac updated to Mavericks you can of course just send them your document and they can open it on their end, since Numbers is now free to all.
    Obviously, none of this is advisable if data integrity is an issue, because once you share a document, both they and you (or anybody else who gets their hands on the link) can go in and change values and formulas until such time as you revoke the sharing.  There's no password protection for shared documents.  Hope that's coming.
    SG
    Edit: Sharing works the same from Numbers for iOS, in case you're running it on an iPad.

Maybe you are looking for

  • Issue in source system creation under sap node

    hi, i am facing a strage issue here while creating a sap source system.  i have two development systems - bd1 for bi development, rd1 for r/3 development. rfc is propely maintained between both of the systems. now im creating the source sytsem under

  • Sent Mail not found in sent file

    This started a few weeks ago.   Sometimes when I send a new message,  it does not show up in my sent file, leaving me wondering if it was sent at all,  and preventing me from reviewing the email too.  I looked in preferences for MAIL  and I do not se

  • PDF Form E-mail Submission Options

    When testing out my forms to see if the email and submit button would work, I accidentally clicked the option of email form through an internet browser instead of email form through an internal application. And then I clicked the Never ask this quest

  • WS7 with PHP for mass hosting: security?

    Hello everybody! I would like to run WS7u1 on our solaris10 T1000 for mass hosting. Unfortunately, it seems that it is not realistic: - A copy of WS7u1 plus a copy of PHP use 400MB of disk space in a non-global zone, which greatly limits the number o

  • JFC/Swing and java Swing

    Are JFC Swing and java Swing both different? Thanks.