Author Topic: How to Drop&Run?  (Read 195 times)

commander

  • Junior Member
  • **
  • Posts: 19
    • View Profile
How to Drop&Run?
« on: Yesterday at 02:42:08 »
Windows Explorer accepts dragging a file onto another executable, putting the file path in the argument and executing it. Can Multi Commander do this? I've tried Alt, Ctrl, Shift, but it doesn't work.

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 515
  • Old Skull
    • View Profile
Re: How to Drop&Run?
« Reply #1 on: Yesterday at 07:50:49 »
It is possible if you put that executable on the QuickLaunch bar or Button panel.

Example for QuickLaunch bar:
1. Drag'n'drop some executable on the QL bar
2. Customize it by right-clicking the icon and selecting "Customize..." (here you can choose how the dropped files shoud be handled)
3. Now you can drag'n'drop other files on that icon, and they will be opened in that program

Example for Button Panel:
1. Enable wizard mode (Menu Configuration > Toggle button panel wizard mode)
2. Drag'n'drop some executable on the desired button
3. In the settings window check "Accept dropped files..."
4. Disable wizard mode (Menu Configuration > Toggle button panel wizard mode)
5. Now you can drag'n'drop other files on that icon, and they will be opened in that program

commander

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Re: How to Drop&Run?
« Reply #2 on: Today at 01:00:19 »
When drop&run, Windows shell normal trasmit two parameters, the first one is the executable path, then the dragged file path. Multicommander just send the dragged file path as the only one parameter, which is not standard. (I choose Program supports more than 2 (paramaters))

Still hope I can drag any file to any executable, don't have to pre-create the shortcut.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4302
    • View Profile
    • Multi Commander
Re: How to Drop&Run?
« Reply #3 on: Today at 10:17:17 »
Drop to run in filelist conflict with the Copy and replace feature.. (Drag file to replace another)

commander

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Re: How to Drop&Run?
« Reply #4 on: Today at 12:41:49 »
I see. Is that possible to use Alt or Shift as the modifier key? They are not used, right?
Please consider to follow the parameter convention. Currently, my programs can not recognize the file path.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4302
    • View Profile
    • Multi Commander
Re: How to Drop&Run?
« Reply #5 on: Today at 14:04:57 »
I see. Is that possible to use Alt or Shift as the modifier key? They are not used, right?
Please consider to follow the parameter convention. Currently, my programs can not recognize the file path.
Not sure what you talking about parameter convention..  The dropped file are sent as a parameter to the file it is dropped on. just like you would call it on the command line.
App.exe <Path of dropped file>