chris sa:
>What may be a better idea is map it to an MS Word doc format, and then in
>the File Translation section (next tab over in the File Exchange control
>panel), tell it that MS Word docs are to be opened by AppleWorks. That
>will cause AppleWorks to launch, and run the neccessary translations on
>the file to open it correctly.
I'm afraid this won't work, even though it's good to have Word docs saved
as non Appleworks docs (the filters may be confused otherwise).
Appleworks foolishly needs to open "filtered" documents from the open
dialog, so double clicking will only result in an error. It will work the
way you describe if you have a full Maclink installed, but not everyone
have that.
So what is left is the script way. As I asked this on the Appleworks list
just yesterday I got a nice script that can be worked upon a little to
fulfill our common objective. Maybe you guys want to help out?
At the moment I want to replace the .doc part with .cwk rather than just
add to it. So I need string replacement. I haven't done this before in
Applescript. Maybe someone knows how to do it? Here's the script from
Mike Vicente:
on open (listOfAliases)
tell application "Finder"
set numItems to count of listOfAliases
repeat with i from 1 to numItems
set fileName to item i of listOfAliases
tell application "AppleWorks 6"
open fileName using translator word 97
set convFileName to fileName &
"(conv).cwk" as text
save front document in file convFileName
close front document
end tell
end repeat
end tell
end open
I also woudl like to have all new docs to a new folder.
___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>