Batch Convert InDesign Files to PDF: Acrobat 9 Pro Opens CS3
A question came up in the InDesign forum about batch converting InDesign files. I've never really needed to do it but I was aware of the batch convert command. The OP reported errors so I tried it myself and while it worked, for some reason Acrobat 9 Pro is opening InDesign CS3 even though I have CS4 and CS5 installed.
I can't seem to find any way to change the default for INDD files. I tried launching ID CS5 first, but Acrobat still launched ID CS3. If I double click an INDD file in Windows Explorer, it opens in CS5 so the operating system has the default correct.
Any ideas?
Thanks,
Bob
Thanks,
I just found that out, too.
What I'd like to find out is how to fix this.
Bob
Similar Messages
-
How to batch convert Word files to pdf
How do I batch convert Word files to pdf using Automator
Here is a drag/drop AppleScript solution that uses the command-line LibreOffice capability to convert MS Word (.doc, .docx) files into PDF. Drag/Drop a single file, or a folder of Word documents, and it will write the respective PDF back to the original file location. When it is done, an OS X Notification will slide out onto the Desktop and provide the count of processed files.
Save this AppleScript as a Desktop application that remains open after running. If you ignore the latter, the notification will not show when it is done. Tested on Mavericks 10.9.5.
property name_extension : {"doc", "docx"}
global fileCnt
on open of finderObjects
set fileCnt to 0
repeat with i in (finderObjects)
if folder of (info for i) is true then
tell application "Finder" to set temp to (entire contents of i)
repeat with j in (temp)
process_files(j)
end repeat
else
process_files(i)
end if
end repeat
display notification "Processed Files: " & fileCnt with title "Word2PDF" subtitle "Processing Complete"
end open
on process_files(fname)
set cmd to "/Applications/LibreOffice.app/Contents/MacOS/soffice "
set cmdArgs to "--headless --convert-to pdf:writer_pdf_Export --outdir "
tell application "Finder"
set nameExt to name extension of fname
set outDir to do shell script "dirname " & POSIX path of (fname as alias)
if name extension of fname is in name_extension then
try
do shell script cmd & cmdArgs & outDir & space & POSIX path of (fname as alias)
set fileCnt to fileCnt + 1
on error errorMessage number errorNumber
display alert "Processing Error: " message "[ " & errorNumber & " ] " & errorMessage
error number -128
end try
end if
end tell
return
end process_files -
When I convert InDesign file to pdf, the background of my image is no longer transparent
I am working with InDesign CS3, and when I place a .gif file onto the document, the background of the image is transparent, which is what I want. However, when I convert the InDesign file to a pdf, that same image shows up in a white box. Why is this happening? Is there a setting that I am missing when I convert it? Thanks in advance
I am converting it via export, and actually it is an ai file, my apologies.
The white box does not appear in InDesign print preview.
I corrected the link, but still no luck.
I am opening the document in Adobe reader, and overprint preview is turned on.
Keep the suggestions coming please! I really appreciate it. -
Converting InDesign File to PDF for Web
Hi,
I designed an ad that is to be used for web view only in InDesign (CS3 on PC). The file restrictions I have been given require that it is 72dpi and a PDF file. When I convert to PDF(smallest file size,no spot colors, compressed), I end up with a file that is 4MB. I'm assuming a file that is 72dpi and 6.25"x9.25" shouldn't be that big. When I look at the "Audit Space Usage" window, 90% is under "Contents Stream" (I don't know what this means).
I'm new to creating files for web viewing so I'm not sure how to go about accomplishing this without losing image quality. I've tried "reducing file size" and the "PDF Optimizer" in Acrobat. I always get the message "The PDF document contained image masks that were not downsampled." when I attempt this.
What do I need to do to create a PDF file with these specifications that will retain some of the image quality (won't look pixelated and be read-able)? I don't mind recreating the ad in Illustrator, or Photoshop if I can guarantee that I can end up where I need to be.
I would really appreciate any tips on this!!You mention pictures. If the file is mostly pictures, then the first step is to reduce the picture content, possibly by using 256 colors rather than millions and such. Check the properties of the settings file for the conversion (I don't have current versions available to check right now - you also did not mention your Acrobat version). It is probably best to down sample in a graphics program such as Illustrator or Photoshop (depending on the image being vector or bitmap) and then include them in the original. It is always a good idea to work on a copy and leave the original in place. Trying to do the reduction in Acrobat is not the best approach.
-
I just installed Adobe XI Pro through the download assistant, it looks the installation went well, but when I tried to convert word files into PDF (tried many times), it failed. Anyone has the same problems, any solutions?
Please reply with more information - what your operating system is, do you have Office installed, and what exactly is happening. Is there an error message, does the application crash, and from where are you starting the conversion (using Word and PDFMaker, using Acrobat's Create button, or batch processing).
-
Whenever I use Reduce File Size in Acrobat Pro (9.5.5), sometimes some of the images (not all) get corrupted and show up as a black image in the new document.
Actually, the new reduced document looks okay when viewed in Acrobat, but the problem shows up when viewed in the Preview application on the Mac.
I'm using Acrobat 9.5.5 with Mac OS 10.8.6
I've tried re-importing the graphic into a new graphic box, which didn't work. Thinking there may be some type of corruption with the actual graphic file, I then tried viewing the graphic, then taking a screenshot of it to create a completely new file, and then re-importing the new graphic file into the original document (created in Adobe In Design 5.0.4). I then export the new document as a pdf, and brought it into Acrobat Pro to do the Reduce File Size. Same thing happens - black box appears where the graphic was.
I then tried using the Reduce File Size within the Save As function of the Preview application on the Mac - while the graphic remains intact, many of the other graphics in the document are "reduced" too much, to the point where the image quality is seriously degraded, and therefore not usable.
Any other ideas?Hi Anoop,
I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks! -
Not able to convert word file to PDF using Adobe Acrobat 9 Standard
Hi,
I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created.
Note: The filename 'Acr85.doc' in the above prompt keeps changing and is random.
I tried clicking Yes, No and Cancel on the above prompt, but the conversion process just stops and PDF is not getting generated.
I am able to create PDFs from web pages. No issues with that. Not working only with Word.
Can someone help me with this.
Thanks,
Vinay Jaassiel Kankipati
Technical WriterIn MSWord please changes the settings as "Adobe PDF" menu => "Change Conversion Settings" goto Tab Bookmark and clicks the option Convert Word Bookmarks. Now you convert the Doc to PDF you can achieve the Bookmark.
Hope this help you
Sudhakar -
Just upgraded to Office 365. Reinstalled my Acrobat 7.0 standard. All I need to do is convert office files to pdf but it wont work. Any suggestions?
Hi,
Acrobat 7 is not tested with Office 365. However your PDF Printer is working fine then you can print your office files to it.
Regards,
Anoop -
Convert txt file to pdf using Acrobat Distiller
Hi,
We purchase years ago Distiller 8.1.0.
Now, I try to convert txt file to pdf files, but I always get an error.
Please Help,
HeziI have important information: Acrobat is not licensed for use server side, so you must not use it to build that solution, even if it is technically possible.
Adobe's server side PDF creation product is LiveCycle PDF Generator https://www.adobe.com/sea/products/server/pdfgenerator/
This comes in three editions. The "PostScript" edition is little more than a server-side version of Distiller, and will not convert TXT. However, the other two editions can convert a wide variety of formats. -
How to protect my PDF file using Adobe Acrobat Pro that i can trace user's IP adress?
How to protect my PDF file using Adobe Acrobat Pro that i can trace user's IP adress?
Used to be able. Considered a security bug. Fixed.
-
How to convert .msg files to PDF?
Hello,
I have a folder full of hundreds of .msg files, many with attachments. I need to convert them to PDF. I have a Mac with Adobe Pro X, and a PC on which I just installed a trial version of Adobe Pro XI. I have tried to do this on my own, on both machines, with little success.
I have tried the "drag and drop" method to try to "combine files into one PDF." Unfortunately, .msg files do not appear to be a supported file type in either Pro X or Pro XI.
On my PC, I am able to use the print to PDF function to individually turn each .msg file into a PDF. However, there are two challenges I'm hoping to solve:
1) The print to PDF function writes any attachments as separate PDFs, instead of automatically merging them all into one file. It takes time to have to enter a new file name for each attachment and save, and also requires me to name them very specifically, so I know which attachments go with which message file(s).
2) Even if I could solve the attachment issue, I expect that it will take a LOT of time to convert each of these files, one by one. Is there a workaround or way to batch convert .msg files? Or is there some kind of add-on or plug-in that will allow me to use the combine files into one PDF function with .msg files?
Thanks!One approach would be to drag and drop your folder of.msg files into Outlook. Next, setup an automatic archive under the Adobe PDF ribbon by selecting the Setup Automatic Archival icon. Under the Automatic Archival tab you can select your folder of email messages in Outlook. Then, under the Settings tab make sure you have "Include all attachments in the Adobe PDF" selected as well.
-
Pb de colorimétrie entre Indesign CC 2014 et Acrobat Pro XI
Bonjour, je viens de passer d'Ind CS 4 à Creative cloud 2014 et je rencontre un pb au niveau de la conversion de fichiers Indesign en fichiers Acrobat .pdf et .pdf prépresse. J'ai reproduit les paramétrages que j'utilisais précédemment et pourtant certaines couleurs (CMJN créées dans mon doc Ind) ne s'affichent pas dans le fichier converti en .pdf. L'impression papier elle est correcte. Toute aide est appréciée !
Bonjour,
Merci de cette suggestion. Essai non concluant.
Le pb viendrait plutôt du PC (nouvel équipement TOSHIBA) et de l’affichage du document .pdf. En effet, sur un autre PC, il s’ouvre correctement avec toutes les couleurs.
Je continue à chercher une solution.
Cdt
Elisabeth
De : JR_Boulay
Envoyé : mercredi 22 avril 2015 00:49
À : elisabeth cothenet
Objet : Pb de colorimétrie entre Indesign CC 2014 et Acrobat Pro XI
Pb de colorimétrie entre Indesign CC 2014 et Acrobat Pro XI
created by JR_Boulay <https://forums.adobe.com/people/JR_Boulay> in Forums en français - View the full discussion <https://forums.adobe.com/message/7461211#7461211> -
How to convert Indesign CC to pdf?
Hi
How to convert Indesign CC to pdf? Should I download a distiller or acrobat Pro X or ?You should ask in InDesign for direct program help
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
Batch convert Pages files to Doc and stay in the same folder?
Hi there,
I use iWork '09 on Mountain Lion. I recently switched to Microsoft Word and prefer it over Pages (personal preference). However, I have nearly 1000 files on my computer that are in Pages format. I have extensively searched this issue in the Apple Support Communities and it appears that there are scripts that DO EXIST that batch convert Pages files into Word files. However, it appears that many of these scripts were built for older versions of iWork and therefore I run into various errors. For example, I used the script available at http://pagesfaq.blogspot.com/2008/01/export-folder-to-word-rtf-pdf-txt-or.html and click run but nothing actually happens (the script runs for less than a second, then I can click run again). I was able to use one script successfully (pasted below), but the only reason I can't use it is because it saves ALL my converted documents in one folder on my desktop and I would like a script that can save them in the original file were the Pages document is located.
So, is there an iWork '09 compatible script that can convert my Pages documents to Word documents and save them in the same folder as the original? Oh, and for an added bonus, it'd be cool if the script also deleted my Pages version after it was done with the conversion
--[SCRIPT batch_exportPages2DOC] (* Enregistrer ce script en tant que script ou progiciel. Exécuter ce script ou déposer l'icône d'un dossier sur son icône. Il ouvre tout document Pages du dossier et l' enregistre en fichier DOC dans le dossier "was_Pages_now_DOC". Celui-ci peut être sur le bureau ou dans le dossier "~/Documents". Si le GUIscripting n'est pas activé le script demande votre mot de passe pour l'activer. Le script récupère le dossier d'exportation par défaut dans le fichier de préférences de Pages. Éviter de cliquer durant l'exécution du script sauf évidemment pour sélectionner le dossier source. ************* Save the script as script or application bundle. Run it or drag and drop a folder icon on its icon. It opens every Pages's documents stored in the folder and save it as DOC file in a folder named "was_Pages_now_DOC". This one may be on the desktop or in the "~/Documents" folder. according to the property storeOnDesktop. If GUIscripting is disabled the script ask for your password to enable it. The script extract the default export path from the Pages's preferences file. Don't click when the script is running. Except, of course, to select the source folder. ************* Yvan KOENIG (VALLAURIS, France) 2008/04/20 2009/06/17 adapté pour format .doc 2009/12/13 updated for MacOs 10.6… *) property theApp : "Pages" property theExt : "pages" property nomDuRapport : "report_Pages2DOC.txt" property nom_du_dossier : "was_Pages_now_DOC" property storeOnDesktop : true (* true = dest folder will be on Desktop false = dest folder will be in "~/Documents" *) property msg1 : "" -- globale property msg90 : "" -- globale property msg91 : "" -- globale -- property msg92 : "" -- globale property msg94 : "" -- globale property msg96 : "" -- globale property msg99 : "" -- globale property rapport : "" -- globale property dossierDeStockage : "" -- globale property dossierParDefaut : "" -- globale property localExport : "" -- globale property newExt : "" -- globale property newType : "" -- globale property isOs4 : missing value -- globale property isOs5 : missing value -- globale property theMenu : missing value -- globale property menuExport : missing value -- globale property types : {{"doc", "SLDocumentTypeMSWord", 2}, {"pdf", "SLDocumentTypePDF", 1}, {"txt", "SLDocumentTypePlainText", 4}, {"rtf", "SLDocumentTypeRichText", 3}, {"rtfd", "SLDocumentTypeRichTextBundle"}, 3} --===== (* our settings *) property typeNum : 1 (* 1 = WORD, 2 = PDF, 3 = Txt, 4 = rtf, 5 = rtfd *) property theButton : missing value (* 1 button PDF 2 button Word 3 button RTF 4 button Standard *) --===== on run (* lignes exécutées si on double clique sur l'icône du script application • lines executed if one double click the application script's icon *) tell application "System Events" to set dossier to choose folder (* dans un bloc System Events pour avoir un titre de dialogue "localisé" • in a System Events block to get a localized dialog title. *) my commun({dossier}) -- my commun({"Macintosh HD:Users:yvan_koenig:Desktop:for_see:" as alias}) end run --===== on open (sel) (* sel contient une liste d'alias des éléments qu'on a déposés sur l'icône du script (la sélection) • sel contains a list of aliases of the items dropped on the script's icon (the selection) *) my commun(sel) end open --===== on commun(elems) my nettoie() my prepareMessages() tell application "System Events" if not (UI elements enabled) then set (UI elements enabled) to true (* Active le GUI scripting • Enable GUI scripting *) set titres to title of processes end tell -- to System Events if theApp is not in titres then my activateTheApp() (* Active et ferme la fenêtre du document créé à l'ouverture • Activate and close the doc's window created at opening *) set {newExt, newType, theButton} to item typeNum of types (* item 1 = {"doc", "SLDocumentTypeMSWord",2} item 2 = {"pdf", "SLDocumentTypePDF",1} item 3 = {"txt", "SLDocumentTypePlainText",4} item 4 = {"rtf", "SLDocumentTypeRichText",3} item 5 = {"rtfd", "SLDocumentTypeRichTextBundle",3} *) set sysAtt to (system attribute "sys2") if 4 > sysAtt then if my parleAnglais() then error "This script requires MacOs X 10.4 or higher !" else error "Ce script requiert MacOs X 1.4 ou ultérieur !" end if else if 5 > sysAtt then set isOs4 to true set isOs5 to false if my getVersion() < "4" then set theMenu to 3 set menuExport to 13 else set theMenu to 10 set menuExport to 9 end if else if 6 > sysAtt then set isOs4 to false set isOs5 to true if my getVersion() < "4" then set theMenu to 3 set menuExport to 13 else set theMenu to 10 set menuExport to 8 (* was a wrong 9 *) end if else set isOs4 to false set isOs5 to false if my getVersion() < "4" then set theMenu to 3 set menuExport to 13 else set theMenu to 10 set menuExport to 8 (* was a wrong 9 *) end if end if my fermeFenetres() (* • Close existing windows *) my afficheLeMessage(msg1) (* Éviter de cliquer… • Don't click… *) tell application theApp to set localExport to localized string "Export" set dossierParDefaut to my getDefaultExport() as text set rapport to "" set dossierDeStockage to my creeDossierDeStockage(nom_du_dossier) (* Unicode text *) try repeat with elem in elems try my exploreTraite(elem as alias, "") end try end repeat if rapport = "" then set rapport to msg90 -- crée un fichier texte sur le Bureau set p2d to path to desktop set p2r to (p2d as Unicode text) & nomDuRapport tell application "System Events" if exists (file p2r) then delete (file p2r) make new file at end of p2d with properties {name:nomDuRapport} end tell set rapport to rapport as text write rapport to (p2r as alias) on error MsgErr number NroErr if NroErr is not -128 then beep 2 tell application (path to frontmost application as string) to ¬ display dialog "" & NroErr & " : " & MsgErr with icon 0 buttons {msg99} giving up after 20 end if -- NroErr is… return end try my nettoie() if my parleAnglais() then my afficheLeMessage("Export done.") else my afficheLeMessage("Traitement terminé.") end if end commun --===== on nettoie() (* pour ne pas stocker dans le fichier script • So it will not be stored in the script file *) set dossierDeStockage to "" set dossierParDefaut to "" set rapport to "" set localExport to "" set newExt to "" set newType to "" set isOs4 to missing value set isOs5 to missing value set theMenu to missing value set menuExport to missing value set theButton to missing value set msg1 to "" set msg90 to "" set msg91 to "" set msg92 to "" -- set msg94 to "" set msg96 to "" set msg99 to " " end nettoie --===== on afficheLeMessage(m) beep 1 tell application (path to frontmost application as string) activate if my parleAnglais() then display dialog m buttons {" OK "} default button 1 giving up after 10 else display dialog m buttons {" Vu "} default button 1 giving up after 10 end if end tell end afficheLeMessage --===== on creeDossierDeStockage(Nom) (* S'il n'existe pas, construit un dossier destination sur le bureau ou dans "~/Documents" • If does not exist, create a destination folder on the desktop or in "~/Documents" *) local dd, dds if storeOnDesktop is true then set dd to path to desktop as Unicode text else set dd to path to documents folder as Unicode text end if if Nom ends with ":" then set dds to dd & Nom else set dds to dd & Nom & ":" end if (* dossierDeStockage n'existe pas, on le crée • dossierDeStockage is not available, build it *) tell application "System Events" to if not (exists item dds) then make new folder at end of folder dd with properties {name:Nom} return dds as Unicode text end creeDossierDeStockage --===== on exploreTraite(elem, ptree) (* elem est un alias • elem is an alias *) local elem_, cl_, type_Id set elem_ to elem as Unicode text tell application "System Events" to tell disk item elem_ set cl_ to class if cl_ is folder then set type_Id to "" else set type_Id to type identifier end if end tell -- "System Events" set cl_ to cl_ as Unicode text if type_Id is in {"com.apple.iwork.pages.pages", "com.apple.iwork.pages.sffpages"} then (* C'est un fichier Pages. • It's a Pages document *) my TraiteUnDocument(elem_) else if cl_ is in {"file package", "«class cpkg»"} then set rapport to rapport & msg91 & elem_ & return (* "Package", Attention, un package EST un dossier "spécial". • Caution, a package IS a "special" folder. *) else if cl_ is in {"folder", "«class cfol»"} then my ExploreUnDossier(elem_, ptree) else set rapport to rapport & msg92 & elem_ & return (* "Pas un document Pages". • "Not a Pages's document" *) end if -- typeId_ is … end exploreTraite --===== on ExploreUnDossier(dossier, ptree) local nomElement, cheminElement, c repeat with nomElement in list folder dossier without invisibles set cheminElement to dossier & nomElement tell application "System Events" to set c to name of (dossier as alias) my exploreTraite(cheminElement as alias, ptree & c & ":") end repeat end ExploreUnDossier --===== on TraiteUnDocument(leCheminOriginal_UniText) my export2Doc(leCheminOriginal_UniText as alias, leCheminOriginal_UniText) end TraiteUnDocument --===== on export2Doc(p, leCheminOriginal_UniText) (* • here p is the path as alias *) local flag, nom_de_p, nouveauChemin, w, bof, x, p_xport try tell application theApp open p set flag to false repeat 300 times (* Attends que le fichier soit réellement ouvert. • Wait until the file is really open *) if my getNbWindows() > 0 then set flag to true exit repeat end if end repeat end tell -- to theApp if flag is false then error number 8888 (* Le fichier n'a pu être ouvert. • The file can't be open. *) on error MsgErr number NroErr if NroErr = 8888 then set rapport to rapport & msg94 & leCheminOriginal_UniText & return else set rapport to rapport & "### " & MsgErr & " ### " & errNbr & return end if return (* can't do the remaining tasks *) end try tell application "System Events" to tell file leCheminOriginal_UniText set nom_de_p to name end tell -- System Events if nom_de_p ends with theExt then set nom_de_p to text 1 thru -(2 + (length of theExt)) of nom_de_p set nouveauChemin to dossierParDefaut & nom_de_p & "." & newExt --log nouveauChemin tell application "System Events" to if exists (file nouveauChemin) then set name of file nouveauChemin to nom_de_p & my horoDateur(modification date of file nouveauChemin) & "." & newExt (* name stamped *) try set {w, bof} to my getFrontWindow() tell application "System Events" to tell application process theApp click menu item menuExport of menu 1 of menu bar item theMenu of menu bar 1 (* Exporter… *) repeat until exists sheet 1 of window w delay 0.1 end repeat tell sheet 1 of window w (* sheet containing the buttons PDF, Word, RTF, Standard *) -- get properties of UI elements of radio group 1 if isOs4 then click button theButton of radio group 1 else if isOs5 then click checkbox theButton of radio group 1 else click radio button theButton of radio group 1 (* I hope that they will no longer change it *) end if -- isOs4 is true (* if typeNum is 2 then delay 0.2 tell pop up button 1 click click menu item quality of menu 1 end tell delay 0.2 end if *) click button 1 (* Suivant… *) repeat until exists button localExport delay 0.1 end repeat click button localExport (* Exporter… *) end tell -- to sheet… repeat 20 times if exists sheet 1 of window w then click button 2 of sheet 1 of window w (* "Ne pas consulter " dans éventuel rapport d'anomalies • "Don't review" in sheet reporting possible export anomalies *) exit repeat end if delay 0.1 end repeat end tell -- to process … System Events if dossierDeStockage is not dossierParDefaut then (* we must move the file from folder dossierParDefaut to folder dossierDeStockage *) set p_xport to dossierDeStockage & nom_de_p & "." & newExt tell application "System Events" to if exists (file p_xport) then set name of file p_xport to nom_de_p & my horoDateur(modification date of file p_xport) & "." & newExt tell application "Finder" to duplicate file nouveauChemin to folder dossierDeStockage (* • before 10.5, System Events is unable to move *) my wait4File(p_xport) tell application "System Events" to if exists file nouveauChemin then delete file nouveauChemin end if -- dossierDeStockage is not… my ferme1fenetre() on error errMsg number errNbr set rapport to rapport & msg96 & p & return & errMsg & " ### " & errNbr & return end try end export2Doc (* ===== • Build a stamp from the modification date_time *) on horoDateur(dt) local annee, mois, jour, lHeure, lesSecondes, lesMinutes set annee to year of dt set mois to month of dt as number (* existe depuis 10.4 *) set jour to day of dt set lHeure to time of dt set lesSecondes to (lHeure mod 60) set lHeure to round (lHeure div 60) set lesMinutes to (lHeure mod 60) set lHeure to round (lHeure div 60) return "_" & annee & text -2 thru -1 of ("00" & mois) & text -2 thru -1 of ("00" & jour) & "-" & text -2 thru -1 of ("00" & lHeure) & text -2 thru -1 of ("00" & lesMinutes) & text -2 thru -1 of ("00" & lesSecondes) (* • Here, the stamp is "_YYYYMMDD-hhmmss" *) end horoDateur (* ===== • Take care, the front window may be an Inspector or a dialog one. *) on getFrontWindow() local namesOfWindows, w, flag tell application theApp to activate set flag to false tell application "System Events" to tell application process theApp set namesOfWindows to name of every window repeat with w in namesOfWindows if subrole of (get properties of window w) is "AXStandardWindow" then set flag to true exit repeat end if end repeat end tell return {w, flag} (* • w is the name of the front document's window *) end getFrontWindow (* ===== • Wait that the file is completely written on disk *) on wait4File(p) (* • p must be Unicode text *) local oldSize, nnn, newSize set oldSize to 0 tell application "System Events" to set nnn to name of file p repeat try tell application "System Events" to set newSize to physical size of file p if oldSize < newSize then set oldSize to newSize else exit repeat end if end try end repeat end wait4File --===== on activateTheApp() local bof, status tell application theApp to activate if my getStartingStatus() is false then tell application "System Events" to tell application process theApp to keystroke return repeat set {bof, status} to my getFrontWindow() if status is true then exit repeat end repeat end activateTheApp (* ===== • Close existing open windows *) on fermeFenetres() repeat while my getNbWindows() > 0 my ferme1fenetre() end repeat (* • Now there is no open window *) end fermeFenetres --===== on ferme1fenetre() tell application theApp to activate tell application "System Events" to tell application process theApp to keystroke "w" using {command down} end ferme1fenetre --===== on getPlistValue(valName, default) local thePlist, u set thePlist to (path to preferences folder as Unicode text) & "com.apple.iWork." & theApp & ".plist" tell application "System Events" if exists file thePlist then tell contents of property list file thePlist try set u to (value of property list item valName) (* Unicode Text *) on error (* On est là si Pages n'a rien enregistré avec des préférences neuves • Here if Pages never saved with the new preferences file. *) set u to default end try end tell -- to contents of… else (* On est là s'il n'y a pas de fichier de préférences • Here if there is no preferences file. *) set u to default end if end tell -- to system events return u end getPlistValue --===== on getStartingStatus() return my getPlistValue("LSDefaultsUseDefaultStartingPoint", false) end getStartingStatus --===== on getDefaultExport() local u (* son of a *****, I forgot that they don't use the same name !! *) if theApp contains "Pages" then set u to my getPlistValue("SLDocumentDefaultExportDirectory", "~/Documents") else if theApp contains "Numbers" then set u to my getPlistValue("LSDocumentDefaultExportDirectory", "~/Documents") else error "I didn't coded a Keynote version !" end if set u to (POSIX file (do shell script "echo " & u)) as text if u ends with ":" then return u else return (u & ":") end if end getDefaultExport --===== on getNbWindows() tell application "System Events" to tell application process theApp to return count of windows end getNbWindows --===== on getLocale(a, x) tell application a to return localized string x end getLocale --===== on getVersion() try tell application theApp to return version on error return "1" end try end getVersion --===== on parleAnglais() local z try tell application theApp to set z to localized string "Cancel" on error set z to "Cancel" end try return (z is not "Annuler") end parleAnglais --===== on prepareMessages() if my parleAnglais() then set msg1 to "Don’t click when the script is running." & return & "Except, of course, if it ask for." set msg90 to "No problem during the export process." set msg91 to "Package" set msg92 to "Not a " & theApp & "’s document" -- set msg94 to theApp & " can’t read it" set msg96 to "Not copied." set msg99 to "Oops" else set msg1 to "Éviter de cliquer durant l’exécution du script" & return & "sauf s’il le demande." set msg90 to "Exportation réussie sans incident." set msg91 to "Package" set msg92 to "Pas un document " & theApp -- set msg94 to theApp & " n’a pas pu le lire" set msg96 to "Pas copié." set msg99 to " Vu " end if set msg91 to "### " & msg91 & " ### " set msg92 to "### " & msg92 & " ### " -- set msg94 to "### " & msg94 & " ### " set msg96 to "### " & msg96 & " ### " end prepareMessages --===== --[/SCRIPT]Try this app: http://tyorex.com/iWorkConverter
Batch convert Pages files to doc and pdf. -
Error: EXOpenExport() while converting xlsb file to PDF
I am getting this error while converting .XLSB file to PDF using IBR :Step PDFExport forced conversion failure by conversion engine because of error: EXOpenExport() failed: no filter available for this file type (0x0004). Can anyone tell me how to resolve this issue.
Thanks in advance.Thank you for all your intrest.
The error message I get is... "an unexpected error occured. PDFMaker was unable to process the request".
When I then try to convert again, the system opens the ppt, but then does not do anything, and the error message does not show, for all presentations I try to convert.
I have also tried using the ribbon, but the button does not do anything once I have clicked.
I can print to PDF, but this provides an output which is not suitable, because it shows as if it each slide was printed on to paper and then put in PDF.
I have also uninstalled and reinstalled Acrobat to make sure nothing was corrupt.
Maybe you are looking for
-
GRC NF-e 2.0 - Status de Serviço com Erro
Boa noite Srs, Estamos recebendo um erro no cenário SRVSC_WebAS_Outbound_ServiceStatusCheck. No NF-e Monitor o Status de Erro é 70 (Error from the authorities). Verifiquei a MONI e encontrei a seguinte mensagem: /CPACache/refres... CPA cache refresh
-
Transfer from older (2006) imac to newer (2011) macbook pro
I have 2006 imac running Snow Leopard (10.6.8). I just bought a 2011 Mac Book Pro running Mavericks. Can I use the normal transfer procedure (firewire) to transfer from the older to the newer. The newer already has applications installed. Thanks
-
Need to authorize Co-author email other than adobe email
I need a co-author email address other than the one I use for adobe. How do I make that happen? How do I get an email address that doesn't have an adobe account to be a co-author? Already sent email invitation a few times to the address and it doesn
-
Mac client bc addresses visible to recipients
We're using the Mac client, v8.0.2HP4, and attempting to send messages where the bc field contains a group with internal and external addresses as well as nested groups of external addresses. The message is sent, but here are the problems we're seein
-
Failed to run task sequence (0x80070490)
Getting error after selecting the task sequence to install Windows 7 Enterprise (x64) on DELL PC Checked SMSPXE.log on the DP, it has the following in red : socket 'connect' failed; 8007274c sending with winhttp failed; 80072ee2 Will retry in 6 sec