Using Applescript to save a text file?
Using Applescript to save a text file?
- Subject: Using Applescript to save a text file?
- From: PiercyWorld <email@hidden>
- Date: Tue, 27 Apr 2004 14:21:05 -0700
I would like to save a file as a text document in Applescript but I
cannot figure it out.
I would like to....
set my_log to "This file can not be opened by this program. Please try
another format. Thank You!"
open for access my_log
save as file my_log to (path to desktop) as "log.txt"
But it doesn't seem to work. Can anyone help?
Thank you!
Vic Piercy
_______________________________________________
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.