[San-Diego-pm] Detect invocation method?
ruberad at gmail.com
Fri Dec 10 12:01:57 PST 2010
Ah, that last one is perfect!
Registry/DropHandler seems preferable in terms of elegance (I can do that
for my own machine), but wrapper is probably more practical given
uncertainty about target platforms.
On Fri, Dec 10, 2010 at 11:33 AM, Brian Manning <elspicyjack at gmail.com>wrote:
> On Fri, Dec 10, 2010 at 11:31 AM, Brian Manning <elspicyjack at gmail.com>
> > 2010/12/10 Reuben Settergren <ruberad at gmail.com>:
> >> Is there any way to package up a perl script (or .bat?) such that input
> >> file(s) can be selected with the mouse, and dragged into the icon for
> >> script, so that the script would then run with the (full?) paths to the
> >> selected files as its command-line arguments? (This is a mac paradigm,
> >> right? I've never seen this on windoze or unix)
> > I don't know what Perl on Windows (it sounds like that's what you're
> > using) does with files that are dropped onto Perl scripts; I guess it
> > would be up to your Perl distribution and how it installs itself into
> > Windows, i.e. what shell hooks it adds when it installs, and not a
> > function of Perl itself.
> Looks like people make .cmd files and/or hack up their Windows
> registries to do this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the San-Diego-pm