We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I start an external .exe with open() but starts an external flat bed scanner scan that takes about 20 seconds
The program continues and before the scan finishes and puts a file in the directory I use to put up image, it gets to the load file statement and can't find it , it's not there yet.
I am trying to use this code to test the file exists before letting the program continue but it complains "unexpected token boolean"
boolean fileExists(String "test.png")
File file = new File("test.png");
Am I on the right tract?