Login  Register

Problem in saving file

Posted by gary.chien on Dec 02, 2015; 11:21am
URL: http://imagej.273.s1.nabble.com/Problem-in-saving-file-tp5015084.html

Hi,
I got a problem in in running my Macro
A window showed up as following:
 
FileSaver.saveAsTiff.
File saving error(IOException):
D:\Sample\temp\Blue.tif("File can not be opened, because it is already in use")(translated from Mandarin)
D:\Sample\temp\Blue.tif

path:D:\Sample\temp
file:Blue.tif

But the error showed up sometimes! (randomly about 10%)
I just wounder if the Macro might go wrong if it reads and opens too frequently, because it runs successfully in most of the time...
Any suggestion will be appreciated.

BRs
 
Gary