Does it happens to the files in the IN folder?
Question 1
Just wondering, it may be necessary to know that or not, depending on if you start stuffing more files into the IN folder after you have inserted the “COPY.txt” file into the folder:
It would be very nice if you could confirm this behavior on the files in the IN folder, and IN folder only.
It would be nicest for you of course because you then could stuff into the IN folder whenever you wished, without any troubles.
Edit:I see now that I got it wrong, you actually process one batch at a time. (It would still be nice to know though. But I won’t implement the functionality to tackle two different batches in the IN folder this time. -I believe I can’t really trust the time stamp of the COPY.txt file) -We may go back and resolve this later eventually.
Question 2
Does this pseudo code look like what you expect to happen?[/b]
(*
if there are logfiles in the OUT folder
move every logfile from the OUT folder to the DONE folder
move every file except the COPY.txt file from the IN folder to the DONE folder
remove the the COPY.txt file from the IN folder.
else if "COPY.txt" exists in the IN FOLDER (no logfiles in the OUT folder=
open every file except COPY.txt in the IN folder thru the converter.app.
end if
*)
About functionality.
I foresee this applet as a faceless one, this is not something you will like to watch in the dock, at least after you have tested it, and knows that it works properly. Am I right?
One more thing. After you have set the inital paths to the folders, there will be quiet a trouble resetting them.
-At least at first hand. I’m currently working with the main parts of the solution. but maybe I can provide a script which resets the folders for you should you ever wish to do so.
The procedure as of today is that you have to open the applet and go into the Contents/Resources folder and delete the file “FolderProperties.scpt”.
Important
In order to restart the app properly after having deleted its scriptobject holding the paths to the folders when it eventually has become a faceless background app is to kill it in the Activity monitor.
Please answer the questions as soon as you can.
Best Regards
McUsr.