Drag & drop support, please.

Asked by geaplanet on 2011-11-01

When you drag & drop multiple files over a script or over a .desktop, pcmanfm want to "move" the files instead of runs the script or .desktop with files like parameters. It is useful for mass treatment of files. All filemanagers I know when you drag&drop a lot of files over a .desktop or shell script take all files and pass them like parameters to continue executing the script.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pcmanfm Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

You can for a script, but the icon that invokes the script must be a launcher. I've verified that this works for dragging one data file, I suspect that if you drag more than one they are passes as multiple arguments on the same line. This would be expected behaviour as far as I'm aware.

Chris

Revision history for this message
geaplanet (geaplanet) said :
#2

Look at this: http://www.youtube.com/watch?v=GvrRVMEWqfU

I know it's an stupid example, it is only for showing the problem.

Can you help with this problem?

Provide an answer of your own, or ask geaplanet for more information if necessary.

To post a message you must log in.