Discussion:
Script help-1
Daniel DRIJARD
2017-09-14 17:25:15 UTC
Permalink
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?

Daniel


To unsubscribe, email ***@xojo.com
fqd
2017-09-14 19:19:24 UTC
Permalink
Post by Daniel DRIJARD
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
Quite sure Applescript can help you on both machines.

Frred





To unsubscribe, email ***@xojo.com
emile.a.schwarz
2017-09-15 03:33:55 UTC
Permalink
161 files to process ?

 

Only if the time to write the script is below the time to achieve the process manually. *

 

Emile

 

* On the older computer:

Loop Until 161 files processed

  Open 10 files, save them as rtf in a different folder

Next

 
Message du 14/09/17 19:27
De : "Daniel DRIJARD"
A : "Nug"
Objet : Script help-1
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
To unsubscribe, email ***@xojo.com
Trausti Thor Johannsson
2017-09-15 07:45:07 UTC
Permalink
You should consider using for example Libre office. It is very good at opening these kind of files, and you you can if you google enough script it to open all these files and save them.
Sure it won’t be 100% but 95% or more is not bad.


Trausti

From: emile.a.schwarz
Sent: Friday, September 15, 2017 05:34
To: Nug
Subject: re: Script help-1

161 files to process ?
 
Only if the time to write the script is below the time to achieve the process manually. *
 
Emile
 
* On the older computer:
Loop Until 161 files processed
  Open 10 files, save them as rtf in a different folder
Next
 
Message du 14/09/17 19:27
Objet : Script help-1
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
To unsubscribe, email us here.




To unsubscribe, email ***@xojo.com
Daniel DRIJARD
2017-09-15 09:49:08 UTC
Permalink
Trausti,

Thank you for your mail. Indeed Libre Office allows to open my old Word files using my Sierra system. I should probably use this software more often than I do usually. There seems to be a possibility to convert a set of files (i.e. an internal loop exists for this). It asks for “templates” which I do not understand. Somewhere I suppose I should be able to define what the files should be converted to (.rtf in my case) but I do not find it.
Cordially,
Daniel
Post by Trausti Thor Johannsson
You should consider using for example Libre office. It is very good at opening these kind of files, and you you can if you google enough script it to open all these files and save them.
Sure it won’t be 100% but 95% or more is not bad.
Trausti
Sent: Friday, September 15, 2017 05:34
Subject: re: Script help-1
161 files to process ?
Only if the time to write the script is below the time to achieve the process manually. *
Emile
Loop Until 161 files processed
Open 10 files, save them as rtf in a different folder
Next
Message du 14/09/17 19:27
Objet : Script help-1
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
To unsubscribe, email ***@xojo.com
Trausti Thor Johannsson
2017-09-15 09:52:30 UTC
Permalink
This should make it super easy https://ask.libreoffice.org/en/question/2641/convert-to-command-line-parameter/
Like I said, there is a command line interface to all star office (libre office).

Trausti

From: Daniel DRIJARD
Sent: Friday, September 15, 2017 11:50
To: Nug
Subject: Re: Script help-1

Trausti, 

    Thank you for your mail. Indeed Libre Office allows to open my old Word files using my Sierra system. I should probably use this software more often than I do usually. There seems to be a possibility to convert a set of files (i.e. an internal loop exists for this). It asks for “templates” which I do not understand. Somewhere I suppose I should be able to define what the files should be converted to (.rtf in my case) but I do not find it.
Cordially, 
Daniel

On 15 Sep 2017, at 09:45, Trausti Thor Johannsson <***@quarksbar.net> wrote:

You should consider using for example Libre office. It is very good at opening these kind of files, and you you can if you google enough script it to open all these files and save them.
Sure it won’t be 100% but 95% or more is not bad.
 
 
Trausti
 
From: emile.a.schwarz
Sent: Friday, September 15, 2017 05:34
To: Nug
Subject: re: Script help-1
 
161 files to process ?
 
Only if the time to write the script is below the time to achieve the process manually. *
 
Emile
 
* On the older computer:
Loop Until 161 files processed
  Open 10 files, save them as rtf in a different folder
Next
 
Message du 14/09/17 19:27
Copie à : 
Objet : Script help-1
 
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
 
Daniel
 
 
 
 
 
To unsubscribe, email us here.
 


To unsubscribe, email us here.


To unsubscribe, email us here.




To unsubscribe, email ***@xojo.com
Daniel DRIJARD
2017-09-15 15:22:47 UTC
Permalink
Trausti,

I failed miserably. You mention an internet document that uses online commands using “soffice" and "—convert-to". My terminal refuses this, and Libre Office help does not know this either. Would this be a a Window’s specifity ? Of course, I use only MacIntosh.

Cordially,
Daniel
This should make it super easy https://ask.libreoffice.org/en/question/2641/convert-to-command-line-parameter/ <https://ask.libreoffice.org/en/question/2641/convert-to-command-line-parameter/>
Like I said, there is a command line interface to all star office (libre office).
Trausti
Sent: Friday, September 15, 2017 11:50
Subject: Re: Script help-1
Trausti,
Thank you for your mail. Indeed Libre Office allows to open my old Word files using my Sierra system. I should probably use this software more often than I do usually. There seems to be a possibility to convert a set of files (i.e. an internal loop exists for this). It asks for “templates” which I do not understand. Somewhere I suppose I should be able to define what the files should be converted to (.rtf in my case) but I do not find it.
Cordially,
Daniel
You should consider using for example Libre office. It is very good at opening these kind of files, and you you can if you google enough script it to open all these files and save them.
Sure it won’t be 100% but 95% or more is not bad.
Trausti
Sent: Friday, September 15, 2017 05:34
Subject: re: Script help-1
161 files to process ?
Only if the time to write the script is below the time to achieve the process manually. *
Emile
Loop Until 161 files processed
Open 10 files, save them as rtf in a different folder
Next
Message du 14/09/17 19:27
Objet : Script help-1
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
To unsubscribe, email ***@xojo.com

Jose Maria Terry Jimenez
2017-09-15 10:29:54 UTC
Permalink
Post by Daniel DRIJARD
I have a set of files written around 1990 by an old version of Word, that I cannot read directly with a more recent version of 2016/2017 (with OSX 10.12.6, Sierra).
I can do a conversion by the following way: read using an old version of Word on an old Mac (using OS 10.4.11), save in format .rtf then I can read with TextEdit (it is valid in the range 1995-2016).
I have a rather large set of files, 165! Is it possible to construct a script to do this conversion by looping around them?
Daniel
Hello

What about this?
http://osxdaily.com/2014/02/20/batch-convert-docx-to-txt-mac/



To unsubscribe, email ***@xojo.com
Continue reading on narkive:
Loading...