Closing Files That I Left Open
Closing Files That I Left Open
- Subject: Closing Files That I Left Open
- From: email@hidden
- Date: Fri, 2 Aug 2002 11:49:12 -0700
So I'm learning AppleScript
What I'm working on right now opens and writes files, reporting on what the
script is doing
But sometimes I get errors, and that means that the files don't get closed
properly.
So when I next try to open the file, I get an error that it's in use. I
know that I should be closing the file in my "on error" blocks, and I am,
but I'm still trying to find all of the times when I need to do that.
So my question is... how can I release the file from the previous run of
the script without a logout/login cycle? Does anyone know of any OSX
utilities that will let me do this?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Seth A. Roby
Scriptwriter Intern
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.