hi!
thank you for the links, but i cannot seem to find a function in either of them that fits my needs.
method A:
if i use the myScript.execute command (first link), i see no way in the adium applescript page to determine whether i have unread messages. is there some sort of dictionary with ALL applescript functions adium supports?
or else: method B
if i configure adium to launch a certain applescript every time a message is recieved (using the adium preferencs window) - how can i make my processing code react to that script? (the processing code needs to be already running because it also handles other events)
i would need some kind of event handler, or whatever it's called in processing.
method C:
...or the applescript could change some data which the processing code checks every 5 seconds or so and reacts to a change. but this is more of an indirect method and i would prefer A or B.
i hope you get what i mean, see the attached picture for a graphical representation

any advice on this front?

thanks for advice!