Convert one file many chapters to many files one 'book' easily??

Hello,
I work for a charity that publishes books, we've just converted 3 of our books in to Ebooks.
We are used to working with all the text/chapters etc in one big file but had to split this into different files for each chapter in order for the ebook to have them seperately and a correct TOC etc.
Did this by just copying and pasting etc over and over. Time consuming, but not unbearable.
We've got a book which is a years worth of readings which we'd possibly like to make into an ebook, this would ideally mean 365 different chapters.
Wondering if there's some quick/convenient way or progamme/plug-in to split my one file into lots of different files [ie a new file for each day]???
[Still using InDesign CS3 on an Intel Mac OS x10.5 – upgrading to CS5 next month]
Thanks
Simon

Cripes...I hear you...I have an applescript which searches for the column break symbol and split the story from that...
If you are changing over to CS5 next month. Then I'd wait until thenif I were you...
CS5 will split the ebpub according to Paragraph styles, without the need for a custom script.
i.e ChapterHeadstyle etc...
Much easier, and also if there are any images in the job CS5 will NOT duplicate the entries on the content.OPF file, which CS3 does and is a nightmare to remove

Similar Messages

  • Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Hi pdf to excel,
    What is the error that you're receiving when you try to convert? Is it the "Conversion Failure" message? Can you tell me more about the files you're unable to convert? What application created the PDFs? Are there many pages in these these files, or a complex mix of text and graphics?
    It'll also be helpful to know whether you're converting via the ExportPDF website (and what browser you're using), or through Adobe Reader.
    I look forward to hearing back from you, so we can get to the bottom of this!
    Best,
    Sara

  • How can I convert multiple files at one time and not one at a time

    How can I convert multiple files at one time and not one at a time

    Hi Plissey1950,
    Sorry for the lengthy delay to a response.  Are you trying to convert multiple files to individual PDF files at the same time? (not combine them).  If so, you'll need to use Adobe Acrobat for this function. The CreatePDF service does not have the ability to convert multiple files to multiple individual PDF files.
    Thanks,
    David

  • How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    Hello,
    How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    It is not good. If I need to export some hundred of separate *.XPS files to hundred separate *.PDF files, I need to do this manually with each file. It is stone age.

  • I've just updated my Macbook to Mavericks and all my .avi files storaged in a Lacie Rugged aren't opening but converting one by one I opened; are they not compatible?. Is there a way to converting all of them simultaneously and faster? Thanks a lot guys

    I've just updated my Macbook to Mavericks and all my .avi files storaged in a Lacie Rugged aren't opening but converting one by one I opened; are they not compatible?. Is there a way to converting all of them simultaneously and faster? Thanks a lot guys

    Have you tried using VLC media player it seems to play almost any codec without converting.
    https://www.macupdate.com/app/mac/5758/vlc-media-player

  • Convert DV File to iPod Video with Chapters

    Hi All,
    My question is simple. I have a project in FCP Suite that I want to export to an iPod with chapters. I subscribe to Podcasts that have chapters in them such as Photoshop TV.
    I have exported to a DV stream from the timeline, and viewed the DV file in QuickTime player to verify that the chapters are in fact still there which they are. When converting from DV, what do I need to do to convert to a format suitable for an iPod Video with the chapters still intact so I can easily skip around on my iPod like a DVD player can. Nothing I do seems to carry the chapter markers over in the conversion process.

    Michael (and George)-
    We've been creating the same m4v files with similar software to George's (FC5 and Compressor2) and while we can place chapter markers in the m4v file, and that file will acurately use the markers when played in QuickTime on the computer, once the file is sent to Video iPod, the markers are not very accurate, missing the marked frame by up to 2 sec. Has it been your experience when using this feature in Compressor 3 that these markers are spot on? Would certainly appreciate your input on this,
    Greg M

  • HT3775 WAAAPA.MPG.... can i convert this file format to one that works on Mac?

    WAAAPA.MPG.... can i convert this file format to one that works on Mac?

    Welcome to Apple Communities
    Install VLC. QuickTime is limited in Mac, so use VLC

  • Can iTunes convert a file and replace the old file with the new one?

    I am trying to convert my wav files to Apple Lossless to save some space. How can I convert the files and make them replace the old files? Right now it just converts new files so that I end up with two files. I have thousands I want to convert and just replace the old ones.
    I have an external program that will do it for me, however if I go that route then when my ITunes files are converted to lossless files I need to re-link the files as they show up with the ! showing they are missing. That would mean manually re-linking every song, which would take forever unless there is a way to mass re-link all the files.

    iTunes does not see the newly created files as the same file because they are not the same file.  They are new, different files.  If you have a track that is 1234.wav and you create 1234.mp3 it simply isn't the same file and you can't trick iTunes into thinking it is.  iTunes will handle it as a brand new file.
    Check Dougscripts web site for scripts which help modifying tag data.  However, I suspect you won't find any doing exactly what you want doing.  Some tag data are only accessible by iTunes itself.
    As for playlists, there's things you can try though they may be more effort than they are worth.  For example, you could add a special code for each playlist to some element of a tag (e.g., grouping).  Convert the file, then make a smart playlist selecting for the code you added to the group of tracks in the old playlist.  If you have hundreds of playlists with a dozen tracks each this will be a grand nuisance.  If it is a handful of playlists with hundreds of tracks each this might be worth it.
    Another way to preserve playlists would be to edit the .xml copy of the iTunes library file, replacing ".wav" with ".mp3" or whatever format you are using.  However, this won't help with play counts because that is only stored in the .itl copy of the file which you cannot edit.

  • I can not open adobe files. mainly ones that end in doc. I purchased the 19.99 to convert .doc files

    I can not open adobe files that end in .doc. I purchased the 19.99 to convert doc to pdf and I still cant open. I get an error reading.

    Hi,
    Which Adobe Service did you purchased?
    If you have purchased CreatePDF please visit: https://createpdf.acrobat.com/SignIn.html
    Sign in with your Adobe ID and password, and then convert your word doc into PDF.
    Please let me know if that works.
    If you have Adobe Reader, you cannot convert .doc file to .PDF by drag and drop.
    ~ Aditya

  • Can I convert  DNG files which were saved as compatible to Camera Raw 6.6 and 7.1 to ones only compatible with Camera Raw 6.6 which would reduce their size from 60 MB to 20MB?

    I have been converting my Fuji RAF files to DNG with Lightroom preferences set to make them compatible to Camera Raw 6.6 resulting in approximately 60 MB files.  I found that by changing the compatibility to 7.1 only the files are only about 20 MB.  Is there any way to reconvert the files to only be compatible with 7.1 and make them about 40 MB smaller?  I have not been embedding the original files in either case.

    Ah, it might ignore files that are already dng. It might work if you uncheck "Only convert Raw files" but I haven't tried that myself. If it doesn't work that way, try using dng converter and replacing the original (make a backup first) with the new dng file created by the converter. Lightroom should just start using the new dng if it has the same name and is in the same location.

  • How would one convert Word files containing audio to a PC?

    I'm not sure if it's possible, but how could I convert Word files that contain audio from a Mac laptop to a PC laptop? I really would appreciate any help, as I truly need these files for academic reasons. Thank you

    Hi, theocularone -
    Welcome to Apple's Discussions.
    This particular forum is set aside for users of OS 9. Since you are using a MacBook Pro, you can not be using OS 9 (OS 9 is not usable with any Intel-processor Mac).
    You would probably get a faster, more directed response if you reposted your question in the appropriate OSX forum. Depending upon which version of OSX you are using, you can access those here -
    OSX 10.4 - http://discussions.apple.com/category.jspa?categoryID=177
    OSX 10.5 - http://discussions.apple.com/category.jspa?categoryID=235
    OSX 10.6 - http://discussions.apple.com/category.jspa?categoryID=263

  • Convert multiple files (word docs) to multiple pdf

    Hi,
    Is there a script I can use in batch processing to convert about 1500 word documents into pdf? I know it's possible to convert multiple files into one pdf, but this is no good to me. Doing these conversions one by one is going to take forever!
    I've tried selecting a few documents at a time and then selecting "convert to pdf" from the right-click menu, but each one requires that you tell it where to save, and then opens the file when it is done.
    I need to convert Word files on a regular basis for work, and could really use a batch process for this with so many to do!
    I have Acrobat 7 Pro (version 7.1.0) on XP Pro SP 2 at work, and Acrobat 8 Pro (Version 8.1.2) on XP Pro SP 3 at home.
    If there is anyway it's possible to do this via a batch process I would really appreciate knowing how!!
    Apologies if this has been covered in another thread, I searched but couldn't find anything.
    Thanks in advance :)

    I have Acrobat 9 Pro. I can batch convert Word docs to PDFs by doing this:
    1. Open Acrobat Pro. Click File > Create PDF > Batch Create Multiple Files...
    2. A window will open prompting you to add files. Click Add Files > Add Files... OR Add Folders... If adding a folder, navigate to it, and click OK to add it to the list. You can also select a bunch of files and drag & drop them into the Add Files window.
    3. Once you have all the files listed that you want to convert, click OK. A new window called Output Options will open. In this window, select your preferred settings. For me, I want all the new PDFs to have the same filename and be in the same folder as the Word docs, so I choose these settings:
    4. Click OK, and then the batch process will begin running. You will see Word opening and closing. However, you won't have to click Save or anything. You can run it unattended. The process takes a little while, so I usually set up a batch to run, then go to lunch. Once finished, you should have all your new PDFs:
    Hope that helps someone!

  • 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 occured while converting the file--unknown error occured 0x77686174

    I just got my first iPod but I'm a little frustrated. I put in a cd, iTunes opens and asks me if I want to import the songs, I reply yes. When it tries the very first song of the cd, it immediately comes up with 'Error occured while converting the file "name of song". An unknown error occured (0x77686174).' It doesn't matter if this is a completely new cd or an older one.
    I ran CD diagnostics on iTunes and my results are below. I have posted this several times on many different boards and haven't found any solutions or been given any solutions from anyone. I have an iPod that I can't use because I can't download any songs...does anyone have any idea what to do?
    I've looked at Dell to update drivers for my cd drive but it says that I have the newest drivers...the computer isn't even a year old yet. What do I do?? I've wiped the cd like several posts say to do, I've clicked the fix error option on cd off and on like several posts have said to do, I've changed the conversion of 128 to 64 like several posts have said to do...help please, anyone?
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. Dell DM051
    iTunes 7.3.1.3
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    LowerFilters: PxHelp20 (2.0.0.0), DRVMCDB (1.0.0.1), DLACDBHM (1.0.0.1),
    UpperFilters: GEARAspiWDM (2.0.6.1),
    Current user is an administrator.
    Video Display Information:
    RADEON X300 SE 128MB HyperMemory
    RADEON X300 SE 128MB HyperMemory Secondary
    Connected Device Information:
    Disk drive, ST3160812AS, Bus Type ATA, Bus Address [0,0]
    Disk drive, TEAC USB HS-CF Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-MS Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-SD Card USB Device, Bus Type USB
    Disk drive, TEAC USB HS-xD/SM USB Device, Bus Type USB
    CD-ROM Drive, TSSTcorp CDRWDVD TS-H492C, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    D: TSSTcorp CDRWDVD TS-H492C, Rev DE02
    Audio CD in drive.
    Found 12 songs on CD, playing time 54:35 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:30:32
    Track 3, start time 09:38:25
    Track 4, start time 14:58:53
    Track 5, start time 18:01:08
    Track 6, start time 21:24:57
    Track 7, start time 26:37:43
    Track 8, start time 32:16:51
    Track 9, start time 36:17:54
    Track 10, start time 41:57:36
    Track 11, start time 46:21:38
    Track 12, start time 51:48:24
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 48.
    The drive CDRW speeds are: 48.

    I came across your error code in iLounge, this post might help you out: http://forums.ipodlounge.com/showthread.php?threadid=30496

  • Converting WAV files to AAC  Error convert Can't read from or write to disk

    For several weeks I had no problem converting WAV files (from an Olympus Digital Recorder) to AAC format in iTunes, then one day I clicked "Convert Selection to AAC" and received the message "Error occured while converting the file. The disk could not be read from or written to." There is no Error # associated with the Error message.

    I recently spent over 14 hours converting all my CD songs to WAV. WAV conversion was the only one of two options available with my older Nero software, and MP3 conversion was not an option. I intended to make mixed CD's. By the time I was done, I had over 300 songs that take up over 17 GB in this WAV format.
    The thought of sitting even more endless hours making these CD's made me even more exhausted, and I realized that I should get with the times and get an MP3 player. So, I bought an iPod directly from Apple two days ago (12/16), and get this, MaclessInAZ, the sales person told me that I all my WAV files could be imported into my iPod with iTunes. (!!!)
    I am very glad to have read this thread before I got my iPod. I would have been so upset if there was no easy solution. My new iPod is supposed to be delivered tomorrow, and I am looking forward to getting it. Many thanks to weavercs for the information on the Switch program that converts WAV to MP3. Even if I decide to buy the full version of Switch, it is a lot less expensive than other conversion programs that I just found online, like Roxio.

Maybe you are looking for

  • Merge multiple cells and rows

    Hello, I am trying to merge multiple cells and have found that I can do thi easily by selecting the adjancent row cells and using the TABLE - MERGE CELLS command.  However, If I want to apply the same merge to multiple rows, I can find noquick way to

  • BADI GCC_PS_PROJECT_LABEL-- GET_WBS_ELEMENT

    Hi, We are using the standard business key 'CPROJECTS' and the standard implementation of the badi GCC_PS_PROJECT_LABEL. We have both cProjects and PS in the same instance. I have observed that the badi is not being called when creating the PS Projec

  • Getting error ORA-01033 : Oracle Initialization or shutdown in progress

    Getting error ORA-01033 : Oracle Initialization or shutdown in progress Tried to login with different users and could login thru one user. when given the command shuddown immediate, gave the error : ORA-01109: database not open Database dismounted. O

  • Crystal Report Server embedded 2008 SP3 - Reporitng

    Hi, i have aquestion about Crystal Report Server embedded 2008 SP3. I am currently going to start some development work to use this reporting technology, (usng C# .NET) Ho can i do server side reporting with out haveing to use a .NET web application

  • Web services and unbounded item

    Hi all, I'm not able to invoke web services in WD application when there are items with maxOccurs set to unbounded. The error is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Array Property [car]