Re: driving LibreOffice.
Re: driving LibreOffice.
- Subject: Re: driving LibreOffice.
- From: Yvan KOENIG <email@hidden>
- Date: Sat, 20 Aug 2016 17:56:31 +0200
Hello has
> Le 20 août 2016 à 17:51, has <email@hidden> a écrit :
>
> Yvan KOENIG wrote:
>> An user asked me for a script exporting more than 10,000 AppleWorks documents as PDF files. ... As LibreOffice is able to open the AppleWorks file, I'm working upon a code doing the job with this free app running on modern machines.
> LibreOffice is directly scriptable with Python. I expect they'll have forums where you can get help.
>
>> set theDoc to choose file of type {"public.rtf"}
>
I sent a script treating rtf files because I guess that few helpers have AppleWorks files available on their machine.
> If they're RTF files, it shouldn't be that hard to convert them to other formats using other apps, Cocoa APIs, etc. The main thing with opening old file formats in other apps is to check the translation process isn't losing any formatting or content you care about.
>
> However, if scripting AppleWorks on an old Mac works already works then why not just leave that to spin through the jobs over a few days? If it's taking more than a minute per-file, there's probably something wrong with the script/machine, else it'll be done in under a week. As long as your error handling is robust and knows to skip and log any problem files, it shouldn't matter if it's a bit slow to get through it. Why waste days trying to devise and debug a 'cleverer' implementation for a one-off throwaway script anyway?
Because I am curious.
Yvan KOENIG running El Capitan 10.11.6 in French (VALLAURIS, France) samedi 20 août 2016 17:56:22
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden