mikeprestim
Programmer
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
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