• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Closing Files That I Left Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Closing Files That I Left Open
      • From: Nathan Day <email@hidden>
    • Re: Closing Files That I Left Open
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: on added items rename folder action
  • Next by Date: Re: Closing Files That I Left Open
  • Previous by thread: on added items rename folder action
  • Next by thread: Re: Closing Files That I Left Open
  • Index(es):
    • Date
    • Thread