Solved

Need batch program for AppleWorks Save As

Posted on 2013-06-06
15
522 Views
Last Modified: 2013-06-06
I have 100 .cwk files I need to save as .rtf.
platform: OSX 10.4.11
AppleWorks 6
How do I write a batch?

I do not have any other Apple machines.  I do not have any other versions of AppleWorks.
I would like to avoid doing each one individually.

Thanks experts!  I am a professional programmer.
0
Comment
Question by:supportoranges
  • 9
  • 6
15 Comments
 
LVL 53

Expert Comment

by:strung
ID: 39225335
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39225354
Thank you.  I got to here:
https://www.box.com/s/loavzw01w4js9uhofboh
It is looking like the script your link uses Pages.
I can't find the one using AppleWorks.
Also, I have no background in automator or running Apple Scripts.
Are these apple scripts put into some kind of batch file?  I know PC uses .bat
and runs under command window.
I wouldn't even know where to execute the script.  Sorry, I don't kknow
anything about AppleScripts at the moment.
0
 
LVL 53

Accepted Solution

by:
strung earned 500 total points
ID: 39225379
I think you need to download the scripts at this link:

https://www.box.com/s/loavzw01w4js9uhofboh/1/792761643/7376472407/1

You should get a zip file with three files inside. I suspect the one you want is called "AW saveAsOffice6.applescript".

Here are instructions on running AppleScripts (You should read this first):

http://mac.tutsplus.com/tutorials/automation/the-ultimate-beginners-guide-to-applescript-2/

Basically, you need to open AW saveAsOffice6.applescript in AppleScript Editor which is found in /Applications/Utilities.

In AppleScript Editor click on the hammer icon to compile the script, then click on RUN.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 1

Author Comment

by:supportoranges
ID: 39225386
That is much appreciated.  I will try and award points by noon E.S.T.  Thank you so much!
0
 
LVL 53

Expert Comment

by:strung
ID: 39225417
Good luck. Hope it works. I don't have AppleWorks, so I can't test it.
0
 
LVL 53

Expert Comment

by:strung
ID: 39225420
Make sure you back up the files, or at least test the script on a small number of files first.
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39225513
To be honest, I thought there would be some script out there which was under 15 lines.  Thank you for getting me as far as Script Editor but saveAsOffice6 appears to be a few hundred lines and not cost effective for me to debug/redevelop it.
0
 
LVL 53

Expert Comment

by:strung
ID: 39225641
You might be able to use the script here:

https://discussions.apple.com/thread/4945980?start=0&tstart=0

by replacing "pages" with "appleworks"
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39225695
Ok thank I'll give it a go.
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39225959
i found the code

save document 1 in file ((aFile as text) & ".rtf") as file type text using translator "RTF"

here
answers.yahoo.com/question/index?qid=20060926042754AAHHrOn

so I feel I'm getting close.
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39226827
ok got it to translate using

tell application "AppleWorks 6"
 open (anItem as alias)
 save front document as file type text using translator "RTF"
 close front document
end tell

i'm having a hard time renaming the file to .rtf, can you help with this?
it's not doing it on it's own.
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39226833
i'm open to a shell script or a pipe via terminal.
0
 
LVL 53

Expert Comment

by:strung
ID: 39226852
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39226908
nice, fast, brutally effective. thank you.
0
 
LVL 1

Author Closing Comment

by:supportoranges
ID: 39226912
This was so helpful.  I learned a little about AppleScript and have tools for next time this comes up.  I loved the rename tool, because I don't need to be an AppleScript expert, only need to get this job done.  Thanks again!
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
Yesterday Apple introduced their revolutionary new iOS 5 operating system that claims to be the ultimate mobile technology interface. One of the biggest innovations of the new operating system is the introduction of the iCloud computing network. Thi…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question