Re: [gedit-list] External Tools



On 3/29/07, Steve Frécinaux <nudrema gmail com> wrote:
> #!/usr/bin/env ruby
> puts $GEDIT_CURRENT_DOCUMENT_PATH
>
> This returns nil. Is there any way to get the current file path inside
> a ruby/php/python script?

I used ENV['GEDIT_CURRENT_DOCUMENT_PATH']. ;)

Thanks!

--
Nando Vieira
bloggin' @ http://simplesideias.com.br
money  @ http://spesa.com.br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]