How to pass the file name to the external tool in file context menu
Vidyasagara Guntaka
vguntaka at Brocade.COM
Mon Apr 24 21:48:38 BST 2006
Jens,
Thank you so much. It just works fine. I ignored trying with %S.
Thanks for you quick response.
Sagar
-----Original Message-----
From: Mailing list agent [mailto:mdom at barney.cs.uni-potsdam.de] On
Behalf Of Jens Dagerbo
Sent: Monday, April 24, 2006 1:57 PM
To: kdevelop at kdevelop.org
Subject: Re: How to pass the file name to the external tool in file
context menu
On Monday 24 April 2006 19:04, Vidyasagara Guntaka wrote:
> Hi,
>
> I have been using Kdevelop for a long tine now. It is very cool.
>
> I have a question regarding passing arguments to external tools. Any
> help is very much appreciated.
>
> When I try to add an external tool to the file context menu, a window
> pops up to fill in the following three fields:
> 1. Menu Text
> 2. Executable
> 3. Parameters
>
> The question I have is this:
>
> If I would like to pass the name of the file in the context to the
> external tool as an argument how do I do that? I tried %F, %f, %s and
> so on in the parameters field with no success.
>
> Thanks in advance,
> Sagar.
What you are looking for is %S (capital 'S'). See "what's this"-help
(shift+F1
or the '?' in the windowbar) for the parameter editbox for more options.
// jens
-
to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body:
unsubscribe >your-email-address<
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list