Passing multiple file names throug a desktop config file?

Kevin Krammer kevin.krammer at gmx.at
Tue Oct 8 20:14:37 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, 8. October 2002 18:24, Johnny Ernst Nielsen wrote:
> Good day,
>
> I have a script that I wish to run by dropping some files on a KDE
> desktop config file.
>
> Problem is that if I select multiple files and drag them and drop them
> on the desktop config file, the script will be started multiple
> times. Once for each file in the selection.
>
> Is there any way to set up the desktop config file to pass all the
> dropped files as a number of parameters to just one instance of the
> program that gets started?

Try %F as the parameter to the deskop file's executable.
%f ist for one File, %F for a list of files
%u for one URL and %U for a list of URLs

Cheers,
kevin

- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer at gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9oy6hnKMhG6pzZJIRAlUSAJ96Gz7a8KSOePolIR9hVSVZsfWQSgCfV0O/
Ndyba3F94gbgNX3EWLH6WcA=
=jYgl
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list