MACSCRPT Archives

March 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Mime-version:
1.0
Date:
Thu, 30 Mar 2006 06:18:45 -0800
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Content-type:
text/plain; charset="US-ASCII"
Subject:
From:
Bruce Robertson <[log in to unmask]>
In-Reply-To:
<p06230917c0507a03fec0@[128.253.187.23]>
Content-transfer-encoding:
7bit
Parts/Attachments:
text/plain (16 lines)
> In Applescript, this of course works fine:
> 
> set filePath to "disk:folder:file"
> set f to (open for access file filePath with write permission)
> write theText to f
> close access f

As an alternative you can use the shell script method

Copy cell "Whatever" of current record to theText

Set theCommand to "echo " & quoted form of theText & " >
~/desktop/myfile.txt"

Do shell script theCommand

ATOM RSS1 RSS2