Re: Using Applescript to save a text file?
Re: Using Applescript to save a text file?
- Subject: Re: Using Applescript to save a text file?
- From: Rob Stott <email@hidden>
- Date: Wed, 28 Apr 2004 16:39:37 +0100
On 27 Apr 2004, at 22:21, PiercyWorld wrote:
I would like to save a file as a text document in Applescript but I
cannot figure it out.
...or if you're on Mac OS X, you could use an (admittedly clunky) bit
of shell scripting...
do shell script "touch " & (quoted form of ((POSIX path of (path to
desktop)) & "log.txt")) & " ; echo This file can not be opened by this
program. Please try another format. Thank You! >> " & (quoted form of
((POSIX path of (path to desktop)) & "log.txt"))
Rob
---
Rob Stott
Development Team
Trident UK
Work: 01482 887212
Mobile: 07881 811533
Home: 01482 671129
More about Trident:
http://www.apple.com/uk/creative/trident/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.