Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Please help with this applescript code

 
   Mac (Home) -> Apple Scripts RSS
Next:  Simple question  
Author Message
denuk

External


Since: Sep 27, 2006
Posts: 2



(Msg. 1) Posted: Wed Sep 27, 2006 4:57 pm
Post subject: Please help with this applescript code
Archived from groups: alt>comp>lang>applescript (more info?)

The line below is part of an Applescript macro that works fine for
converting Appleworks documents to RTF format. Can anyone please tell
me how I amend this line of code to save Appleworks documents in ASC
(Ascii) text format. (ASC is one of the 'Save As' options in
Appleworks.) The current line is:

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

Many Thanks
Back to top
Login to vote
Michelle Steiner

External


Since: Aug 30, 2005
Posts: 1352



(Msg. 2) Posted: Wed Sep 27, 2006 11:55 pm
Post subject: Re: Please help with this applescript code [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
denuk

External


Since: Sep 27, 2006
Posts: 2



(Msg. 3) Posted: Thu Sep 28, 2006 1:56 pm
Post subject: Re: Please help with this applescript code [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Michelle

I recently read that there are apparently two forms of Mac text files -
which also extends to Appleworks. The text file (for wordprocessing)
and the ASCII text (for spreadsheets) My objective is for the macro to
save an Applescript spreadsheet as ASCII text. Does your amendment work
for both types of text files or just the wordprocessing type?

Thanks


Michelle Steiner wrote:
> In article <1159401440.102674.97300 RemoveThis @e3g2000cwe.googlegroups.com>,
> "denuk" <denuk2003 RemoveThis @yahoo.co.uk> wrote:
>
> > The line below is part of an Applescript macro that works fine for
> > converting Appleworks documents to RTF format. Can anyone please tell
> > me how I amend this line of code to save Appleworks documents in ASC
> > (Ascii) text format. (ASC is one of the 'Save As' options in
> > Appleworks.) The current line is:
> >
> > save document 1 in file ((aFile as text) & ".rtf") as file type text
> > using translator "RTF"
>
> Try this:
>
> save document 1 in file ((aFile as text) & ".txt") as file type text
>
> --
> Stop Mad Cowboy Disease: Impeach the son of a Bush.
Back to top
Login to vote
Michelle Steiner

External


Since: Aug 30, 2005
Posts: 1352



(Msg. 4) Posted: Thu Sep 28, 2006 2:41 pm
Post subject: Re: Please help with this applescript code [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
Display posts from previous:   
Related Topics:
update applescript - I am only now practiced enough in Applescript that some anomalies in the language are bugging me. In looking for work-arounds, one of the first documents I read was the Apple web page listing all the bugs in version 1.9.1. I have version 1.9.1 on os...

Help with a BBEdit AppleScript - I need to insert Quark tags into a text file that is exported from a classified ads application. I just can't seem to get the syntax right to have a font tag <f"LegalNews-Bold> inserted at the beginning of the line before the date tag. For...

New AppleScript features in 10.5 - On this page <http://www.apple.com/applescript/> (which is formatted in a very un-Apple manner) there's a list of the new features in AppleScript, with each on a clickable link. Some look interesting and I don't want to torpedo any fun discussio...

Can Applescript tell if computer is online? - Hi there, I would like to write a conditional Applescript. The script would trigger itself every few hours and if the computer is not connected to the Internet I would like it to execute some code. I have a bit of experience with AS but have no idea how....

How do I get an applescript to run as a cron job? - Hello, I have written a very simple script that opens a Filemaker file and runs a script. Here's the script: tell application "FileMaker Pro" open file "MyFile.fp7" do script "LaunchMyScript" end tell I want to have...
       Mac (Home) -> Apple Scripts All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact