You are not logged in.

1

Tuesday, April 19th 2005, 10:02pm

drag and drop: one instance only

Hi

I've set up an application on the KDE desktop. When I drag and drop several files onto it, the application is called for every single file dropped.
What I want is that a single instance of the application be called and which opens all files dropped. Is it possible?

Every help will be appreciated

Kilo

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

2

Tuesday, April 19th 2005, 10:58pm

RE: drag and drop: one instance only

Is this your own application?
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Wednesday, April 20th 2005, 5:11pm

Check if the Exec line of the respective .desktop file contains %U
Maybe it only says %u which means single URL, %U means URL list

Cheers,
_
Qt/KDE Developer
Debian User

4

Thursday, April 21st 2005, 5:33pm

Thanks

Hi

Thanks a lot for the help. %U made it work correctly.
I've seen that %F works too. Maybe this last one is better as I usually drop files onto the application, not URLs.
And btw, no, it's not a personal app. it is kprinter.

Ciao

Kilo