Hi.
I believe that the operating system is actually telling you the truth.
Photoshop "opens" a file by reading the whole works into a large
temporary buffer (made up of RAM and disk). Once it has swallowed up
the whole works, it closes the original input file from the operating
system point of view, leaving the user to play with the temporary
files until a save (or save as) is requested.
Other apps will read in a portion of the file at a time, leaving it
open from an operating system point of view for all the time they are
working on it.
You will find that most apps work this way, like Acrobat, but not
all. Those that don't leave you with a real problem.
Russ
On May 16, 2006, at 11:50 PM, RBNUBE wrote:
On Windows, it seems that some files report to the system that they
are open
while others do not.
For instance, after opening a jpeg in Photoshop, I can rename the
file and
there are no complaints.
However, if I open a PDF file in Acrobat and then try to rename the
file, it
refuses to let me. I am alerted that the file is in use.
How would I detect that a file is open? LastErrorCode and
IsWriteable don't
seem to be of much help.
Thanks.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>