RE: Problems Writing to a File
RE: Problems Writing to a File
- Subject: RE: Problems Writing to a File
- From: "Alex Husted" <email@hidden>
- Date: Thu, 10 Nov 2005 14:10:56 -0500
- Thread-topic: Applescript-users Digest, Vol 2, Issue 751
Steve,
I think this is your problem:
set theFilePath to (path to desktop) & "archiveTool:htmlFiles:tempFile.txt"
as string
path to desktop returns an alias and your are basically trying to coerce "archiveTool:htmlFiles:tempFile.txt" to an alias which won't work. Try using this line instead:
set theFilePath to (path to desktop as string) & "archiveTool:htmlFiles:tempFile.txt"
This e-mail and any files transmitted with it are intended solely for
the use of the addressee. This e-mail may contain confidential and/or
legally privileged information. Any review, transmission, disclosure,
copying, or any action taken or not taken, by other than the intended
recipient, in reliance on the information, is prohibited. If you
received this e-mail in error, notify the sender and delete this e-mail
from your computer and network. In addition, please be advised that
Edmund Optics reserves the right to monitor, access and review all
messages, data and images transmitted through our e-mail system. By
using our e-mail system, you consent to this monitoring.
_______________________________________________
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