Re: Open files
Re: Open files
- Subject: Re: Open files
- From: email@hidden
- Date: Sun, 17 Mar 2002 00:51:10 EST
Is this (the 'close access all' line) a valid construction for closing all
instances in which problems occurred? I occassionally have the same problem
with leaving hanging files open and have been trying to use this (usually
with sucess) to close them in case of error instead of having to restart. The
obvious test is always whether I can throw the file in the trash & empty it
without the 'file busy' dialog...
Tell App "Finder"
-- using OS 9.2.1 AS 1.6
Try
-- open for access with write permissions
-- write something
on error
close access all
-- or perhaps a 'close access all files who are open for access'?
end try
=-= Marc Glasgow
_______________________________________________
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.