Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open for access with write permission



On Mar 22, 2007, at 6:14 PM, Vince Angeloni wrote:

Typo; I forgot to change it. The script never got that far so it never erred there.

The fact that the script never got to the "close" statement is most likely the problem. It is leaving the file open when it errors. I will usually wrap my write statements in a try handler like this, just in case:

Nope, because, as I said, it happens even when I created a new file, using "choose file name"; doing it anywhere else other than the desktop, it works properly.


-- Michelle

--
A great Idea!  That's what we need--a great idea.
 --Pesudolous, (A Funny Thing Happened on the way to the forum)

_______________________________________________
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

This email sent to email@hidden
References: 
 >Re: Open for access with write permission (From: Vince Angeloni <email@hidden>)



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.