| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Running 10.4.7. I've used this format forever. No problems. Now when I run
this I get "Finder got an error: Can't make file (document file "SPT
080106-Trinity Cat-67448" of folder "Desktop" of folder "dandough" of folder
"Users" of startup disk) into type file specification."
It creates an empty file then hoses when if tried to open it.
tell application "Finder"
set MyFile to make new file at desktop with properties
{name:DoStoryName(winningTeam) of me}
open for access file MyFile with write permission
write AGATE to file MyFile starting at eof
close access file MyFile
end tell
I finally got it to work but only by saying
tell application "Finder"
set MyFile to make new file at desktop with properties
{name:DoStoryName(winningTeam) of me}
Set MyFile to MyFile as alias
open for access MyFile with write permission
write AGATE to MyFile starting at eof
close access MyFile
end tell
Is this related to a desktop reference bug?
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.