Login  Register

isOpen functionality

Posted by bds81175 on Jun 14, 2011; 1:45pm
URL: http://imagej.273.s1.nabble.com/isOpen-functionality-tp3684257.html

I have a set of ImageJ macros that I want to have read a .txt file and process based on the files contents.  Unfortunately, I want to have multiple PC's working with the same file and I don't want them tripping over each other when the file gets opened and read by one and another tries to do the same.  I see the isOpen command but for the life of me I can't get it to actually return a TRUE flag.  Is there a trick to this?  What's the best way to keep the macros running while using the same file?