RE: Appleworks.
RE: Appleworks.
- Subject: RE: Appleworks.
- From: "Ruby Madraswala" <email@hidden>
- Date: Tue, 19 Oct 2004 16:23:42 -0400
- Thread-topic: Appleworks.
Thanks Rich for the syntax.
Open works fine, but have a problem saving Appleworks file as text format.
Test script
Tell application "AppleWorks 6"
Set newname to "Macintosh HD:temp:test"
Save document in newname as file type text (document is an open appleworks document.)
End tell
I don't get any error message, but when I process the file as text file, beginning of the file is junk, which means the file is applework format not a text format..
Ruby
-----Original Message-----
From: Rich Collyer [mailto:email@hidden]
Sent: Tuesday, October 19, 2004 2:10 PM
To: Ruby Madraswala
Cc: AppleScript User's List
Subject: Re: Appleworks.
On Oct 19, 2004, at 10:59 AM, Ruby Madraswala wrote:
>
> Hi All
>
> Unfortunately I don't have the Appleworks dictionary in my system, can
> anyone give me the syntax for the following.
>
> 1. Open a text file (from TextEdit) in Appleworks.
>
open: Open the specified object(s)
open alias -- list of objects to open
[using translator international text] -- the name of the translator
to use to open the file
[as document type drawing document/text document/spreadsheet
document/database document/painting document/presentation document] --
the type of AppleWorks document as which to open the file
[with password string] -- the password to use
> 2. Save Appleworks document as text file.
>
save: Save a document
save document -- the document to save
[in alias] -- the file in which to save the document
[as file type type class] -- the type of file in which to save the
document (e.g., PICT, TEXT, MW2D)
[using translator international text] -- the name of the translator
to use to save the document
[template boolean] -- save the document as template?
> Thanks
> Ruby
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> email@hidden
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden