macosx: move code from CoreInteraction to the AppleScript class, since it was the only client using it
Attach a file by drag & drop or click to upload