<div dir="ltr"><div>Well is there any general global variable (like GEDIT_CURRENT_SELECTION for Gedit) which stores the currently selected word so I can send it to browser like "firefox <a href="http://php.net/%s">http://php.net/%s</a>" or "chrome <a href="http://php.net/%s">http://php.net/%s</a>" in Windows/Ubuntu linux geany ?<br><br></div><div>How many variables are there like (%s) in geany and where can I get list of them and their usage possibilities ?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 November 2015 at 04:21, 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"><span class="">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>
> 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 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>
</span>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>
<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>
<span class=""><br>
><br>
> %s is not displaying anything at all, just blank.<br>
<br>
</span>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>
<span class="HOEnZb"><font color="#888888">Lex<br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>