| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Michelle,
set UserFile to choose file with prompt "Please choose the dictionary file to add the words to."
set fileRef to open for access UserFile with write permission
--> "File file Dora:Users:michelle:Desktop:en is already open."
set eof of fileRef to (get eof of fileRef) + 1 write additions to fileRef close access bar
If I put a close access statement right before the open access statement, I get an error saying that the file isn't open.
How exactly are you using the close access command?
This should work:
But this won't work:
And this:
set fileRef to open for access UserFile with write permission
Tom
_______________________________________________ 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 Archives: http://lists.apple.com/archives/applescript-users
| References: | |
| >Open for access with write permission (From: Michelle Steiner <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.