#27 Better drag-and-drop

closed-out-of-date
nobody
None
5
2011-02-13
2008-03-28
Kirill
No

This is an implementation of my idea from now closed patch [ 1764783 ] Change directory using a dialog.

CMD.EXE can accept files and folders via drag-and-drop to insert a properly quoted path.

Console does one better and accepts multiple files and folders to insert as space-delimited, properly quoted path's.

This patch implements one better. Now Console can accept: - "special" items, for example, My Documents icon, it will convert it to properly quoted path before pasting.
- text snippets from other applications like Outlook, VS or Firefox; they're not quoted in any way.

Also, if exactly one shortcut is dropped on Console with Ctrl key pressed, it will try to resolve the shortcut and paste the resulting path.

Marko, this is my reply to your last comment to the 1764783 patch.

Discussion

  • Kirill
    Kirill
    2008-03-28

    Normalized diff against b138

     
    Attachments
  • Kirill
    Kirill
    2008-03-29

    diff -Naur b139 Console

     
  • Kirill
    Kirill
    2008-03-29

    Logged In: YES
    user_id=1664805
    Originator: YES

    The new patch is applicable to b139 (on top of window-resizing-works-better-b139).

    Please, note that I could not build the resulting tree because I use VS2005.
    File Added: OLE-based-dnd-b139.patch

     
  • Kirill
    Kirill
    2008-04-05

    Files changed in b138 to implement the patch

     
    Attachments
  • Kirill
    Kirill
    2008-04-05

    Logged In: YES
    user_id=1664805
    Originator: YES

    File Added: ole-dnd.zip

     
  • Kirill
    Kirill
    2011-02-13

    • status: open --> closed-out-of-date
     
  • Kirill
    Kirill
    2011-02-13

    Current version is available on github.com/akirill/console