Hello all,
I have a java app I’m putting ical integration into. Contrary to popular belief, it actually works very well by having the java call osascript which is calling an AppleScript. Everything is great, but then I started getting a lot more events in ical to sort through.
It looks like the osascript and or the applescript are being executed asynchronously.
The option I’m considering, but don’t like because of the cheese factor, is to have the applescript create a file at the beginning of the script and destroying it at the end. The java app could then loop (and sleep) while the file exists. Gross, but possibly effective semaphors.
Anyone run into this or have a better idea?
many thanks in advance!