You want to do this on the PC as opposed to the Device?

Set up a filewatcher on the folder where activesync places its files, and when there is a change, action it then?

If on the device, something similar, although the filewatcher doesn't exist in the CF