Well, I don't know, but this definitely rings bells with me coming from a Windows NT drag-and-drop background to Perl and Unix culture.

I think that the drag and drop metaphor works really well for some things: and ad hoc copying files is still one of them. But nowadays apart from some copying, directory browsing, and deleting directories (because I can never remember the *^$%! command to delete a directory tree but Explorer lets me do it with a couple of clicks!) I tend to use command line instead.

My point? Oh yes, that I think that running executable content might be something that's best left out of the drag-and-drop metaphor. What if you click on the wrong files? What if you drag them onto the wrong icon? (That Click, hold, drag, release sequence is intuitive but I get it wrong surprisingly often... - well, maybe that's just me) Do you need control over which order the scripts run? or what happens to the output or error messages?

If you are running a group of scripts that you run regularly you might be better off writing a .bat file to call them and pipe the output to a log file.

I think if you really wanted drag-and-drop execution, it might be worth looking into Windows Scripting Host (which supports Perl) as I think this does allow more control over order, logging etc.

Cheerio!
Osfameron


In reply to Re: Windows drag and drop by osfameron
in thread Windows drag and drop by fredt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.