Re: Problem with simple finder script- make new file, open for access
Re: Problem with simple finder script- make new file, open for access
- Subject: Re: Problem with simple finder script- make new file, open for access
- From: Michelle Steiner <email@hidden>
- Date: Tue, 1 Aug 2006 09:48:56 -0700
On Aug 1, 2006, at 7:19 AM, dev_sleidy wrote:
set AGATE to "22.03.2006 - Philadelphia Flyers 6 vs. New York
Ranges 3"
set winningTeam to "Philadelphia Flyers"
tell application "Finder"
set MyFile to make new file at desktop with properties
{name:winningTeam}
open for access file MyFile with write permission
write AGATE to file MyFile starting at eof
close access file MyFile
end tell
... fails with 'Script Editor' (AppleScript) of MacOS X 10.0.0,
10.2.0, 10.2.8, 10.3.4, and 10.4.4.
All of the above mentioned MacOS X versions - displayed errors stated:
Get rid of the tell block, and it will work.
--
ASCII stupid question, get a stupid ANSI.
_______________________________________________
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