• 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
Re: Open files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open files


  • Subject: Re: Open files
  • From: Dave Balderstone <email@hidden>
  • Date: Fri, 15 Mar 2002 23:28:18 -0600

I have a few scripts that I run regularly that use open for write, and I've
found that a

try
close file foobar
end try

before trying to open it has solved problems for me, particularly in
testing and debugging.

It may not be elegant, but I tend to be a brute force with a crowbar kind
of scripter so...

djb
_______________________________________________
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.

References: 
 >Re: Open files (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Open files
  • Next by Date: Re: Open files
  • Previous by thread: Re: Open files
  • Next by thread: Re: Open files
  • Index(es):
    • Date
    • Thread