_ImageAttachmentAdd, _ImageAttachmentOpen, _ImageAttachmentSaveAs, ImageAttachmentRemove
ImageAttachmentRemove 
This function runs the Remove Attachment menu command.
Description 
ImageAttachmentRemove();
This function removes the attached file.
_ImageAttachmentAdd 
This function runs the Add Attachment menu command.
Description 
_ImageAttachmentAdd();
This function appends an arbitrary file to the currently opened image document. Select Attachment window appears, where you can specify the appended file.
_ImageAttachmentOpen 
This function runs the Open Attachment... menu command.
Description 
_ImageAttachmentOpen();
This function opens the file attached to the currently opened document.
_ImageAttachmentSaveAs 
This function runs the Save Attachment As... menu command.
Description 
_ImageAttachmentSaveAs();
This function saves the attached file to a custom location.