what are these  filles 
On 16 Jul 2012, at 05:17, Esther wrote:

> HI All,
> 
> Just noticed that it might have been confusing to use the "---begin 
> script---" line to separate off the AppleScript for batch converting rtf and 
> doc files to text.  There are only five lines to the AppleScript code.  And I 
> probably should have added some comment lines to the beginning.
> 
> Esther (Commented AppleScript below -- comments take up more lines than the 
> code does!)  
> 
> (* Convert doc and rtf files to text using the textutil convert option
> Written for Sarah on the mac-access list. 
> Usage: Run the script and select the folder containing your file in the 
> dialog window.  The program  will create text versions of these files in that 
> folder with the same name and .txt extension.   
> July 15, 2012  Esther
> *)
> set sourceFolder to choose folder
> tell application "Finder" to set theFiles to files of sourceFolder whose name 
> extension is in {"doc", "docx", "rtf"} or creator type is "MSWD"
> repeat with oneFile in theFiles
>  do shell script "textutil -convert txt " & quoted form of POSIX path of 
> (oneFile as text)
> end repeat
> 
> <--- Mac Access At Mac Access Dot Net --->
> 
> To reply to this post, please address your message to 
> [email protected]
> 
> You can find an archive of all messages posted    to the Mac-Access forum at 
> either the list's own dedicated web archive:
> <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
> or at the public Mail Archive:
> <http://www.mail-archive.com/[email protected]/>.
> Subscribe to the list's RSS feed from:
> <http://www.mail-archive.com/[email protected]/maillist.xml>
> 
> The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
> worm-free!
> 
> Please remember to update your membership options periodically by visiting 
> the list website at:
> <http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to [email protected]

You can find an archive of all messages posted    to the Mac-Access forum at 
either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

Please remember to update your membership options periodically by visiting the 
list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

Reply via email to