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 http://php.net/%s"; or "chrome http://php.net/%s"; in
Windows/Ubuntu linux geany ?

How many variables are there like (%s) in geany and where can I get list of
them and their usage possibilities ?

On 5 November 2015 at 04:21, Lex Trotman <[email protected]> wrote:

> On 5 November 2015 at 06:03, Vivek <[email protected]> wrote:
> > I am using Geany version 1.25 on Windows 7 x64.
> >
> > I tried to send current selected text by setting `Context Menu >> Format
> >>
> > Send selection to` but it isn't working.
> >
> > I can't figure out how to send current open file's selected text to any
> of
> > the below options:
> >
> >  1. Windows Terminal
> >  2. Self-executable Batch file
> >  3. Browser(firefox or chrome, running as command)
>
> What exactly is the command you are using?
>
> Do these programs read text from their standard input and send the
> result to their standard output?  Note the output from the commands
> replaces the selection, see
>
> http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands
> .
>
> >
> > %s is not displaying anything at all, just blank.
>
> This does not relate to custom commands, its used in the context
> action command, see
> http://www.geany.org/manual/current/index.html#context-actions
>
> Cheers
> Lex
>
> >
> > Need solution for all above issues.
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > https://lists.geany.org/cgi-bin/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to