<div dir="ltr"><div><div>Are you a fool or are u trying to make fool outta me ?<br><br></div>Do you really think, I haven't even tried the example in the documentation yet ?<br><br></div>I already told you I tried applying url into context menu action like 'firefox "<a href="http://www.php.net/%s">http://www.php.net/%s</a>"' or 'chrome "<a href="http://www.php.net/%s">http://www.php.net/%s</a>"' in Geany in Windows 7, but it's not working the url passed to browser is <a href="http://www.php.net/%s">http://www.php.net/%s</a> why %s is not interpreted it SHOULD be interpreted in all OSes including Windows.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 November 2015 at 01:55, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6 November 2015 at 05:14, VIVEK SHAH <<a href="mailto:viveklucky1848@gmail.com">viveklucky1848@gmail.com</a>> wrote:<br>
> Well is there any general global variable (like GEDIT_CURRENT_SELECTION for<br>
> Gedit) which stores the currently selected word so I can send it to browser<br>
> like "firefox <a href="http://php.net/%s" rel="noreferrer" target="_blank">http://php.net/%s</a>" or "chrome <a href="http://php.net/%s" rel="noreferrer" target="_blank">http://php.net/%s</a>" in<br>
> Windows/Ubuntu linux geany ?<br>
<br>
The manual gives an example of using the context action for this.<br>
<br>
><br>
> How many variables are there like (%s) in geany and where can I get list of<br>
> them and their usage possibilities ?<br>
<br>
Substitutions applicable vary depending on the context, they are<br>
documented in the manual under the relevant context.<br>
<br>
Cheers<br>
Lex<br>
<br>
><br>
> On 5 November 2015 at 04:21, Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>
>><br>
>> On 5 November 2015 at 06:03, Vivek <<a href="mailto:viveklucky1848@gmail.com">viveklucky1848@gmail.com</a>> wrote:<br>
>> > I am using Geany version 1.25 on Windows 7 x64.<br>
>> ><br>
>> > I tried to send current selected text by setting `Context Menu >> Format<br>
>> > >><br>
>> > Send selection to` but it isn't working.<br>
>> ><br>
>> > I can't figure out how to send current open file's selected text to any<br>
>> > of<br>
>> > the below options:<br>
>> ><br>
>> >  1. Windows Terminal<br>
>> >  2. Self-executable Batch file<br>
>> >  3. Browser(firefox or chrome, running as command)<br>
>><br>
>> What exactly is the command you are using?<br>
>><br>
>> Do these programs read text from their standard input and send the<br>
>> result to their standard output?  Note the output from the commands<br>
>> replaces the selection, see<br>
>><br>
>> <a href="http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands" rel="noreferrer" target="_blank">http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands</a>.<br>
>><br>
>> ><br>
>> > %s is not displaying anything at all, just blank.<br>
>><br>
>> This does not relate to custom commands, its used in the context<br>
>> action command, see<br>
>> <a href="http://www.geany.org/manual/current/index.html#context-actions" rel="noreferrer" target="_blank">http://www.geany.org/manual/current/index.html#context-actions</a><br>
>><br>
>> Cheers<br>
>> Lex<br>
>><br>
>> ><br>
>> > Need solution for all above issues.<br>
>> ><br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
>> > <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
>> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>