Re: driving LibreOffice.
Re: driving LibreOffice.
- Subject: Re: driving LibreOffice.
- From: has <email@hidden>
- Date: Sat, 20 Aug 2016 16:51:58 +0100
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"}
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?
has
_______________________________________________
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