Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Darg and drop attachents from outlook

Status
Not open for further replies.

mikeprestim

Programmer
Mar 1, 2001
21
GB
Hi, I am trying to create a script to process file attachments from an email. I want to be able to drag the attachment from the email and drop it over the shortcut to the script. This will fire up the script and pass the attachment as a parameter. My script then processes the attachment.

I have set the drop handler in the registry as below

###########################
use Win32::TieRegistry;
$Registry-> Delimiter("/");
$perlKey = $Registry-> {"HKEY_CLASSES_ROOT/Perl/"};
$perlKey-> {"shellex/"} = {
"DropHandler/" => {
"/"=> "{86C86720-42A0-1069-A2E8-08002B30309D}"
}};

This works fine when you drop a file from explorer, but I cant seem to make it work for a file attachment in an email.

Any one any ideas?

Thanks
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top