in reply to Taking argument via drag-drop to a perl script
Add a drop handler Adding a drop handler for Perl allows you to run a Perl script via drag & drop; e.g. dragging a file over the file icon in Windows Explorer and dropping it there. Run the following script to add the necessary entries to the registry:
Also, some other ideas here.use Win32::TieRegistry; $Registry->Delimiter("/"); $perlKey = $Registry-> {"HKEY_CLASSES_ROOT/Perl/"}; $perlKey-> {"shellex/"} = { "DropHandler/" => { "/" => "{86C86720-42A0-1069-A2E8-08002B30309D}" }};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Taking argument via drag-drop to a perl script
by bliako (Abbot) on Dec 04, 2018 at 11:37 UTC | |
by kschwab (Vicar) on Dec 04, 2018 at 11:59 UTC | |
by pryrt (Abbot) on Dec 04, 2018 at 14:44 UTC | |
by bliako (Abbot) on Dec 04, 2018 at 16:26 UTC |