Thank you ! Python, what a great "programming" language ... Didi you know that it was named after Monty Python?
... On May 14, 12:08 am, Hernan Rodriguez Colmeiro <[email protected]> wrote: > I can confirm this works for me. I've tested it with a little python > script that logs each parameter I pass to the program and works > perfect. > > One thing that should be noted is that you have to specify the > complete path to your editor. For example, if you're in Linux with > Gnome, to open it in gedit you should put "/usr/bin/gedit" as the path > of the edior, not just "gedit" as you type in the console. > > The Python Script I made is the following: > > #! /usr/bin/python > import sys > > file = open("/var/tmp/editor.log", 'a') > > file.write(str(sys.argv)+"\n") > > file.close() > > Just made it executable and set as editor (including the full path ;) > ), and in /var/tmp/editor.log you'll find a log with the parameters > you passed to the editor. > > Hernán > > 2009/5/13 Jan Odvarko <[email protected]>: > > > > > On 13 kvě, 08:02, BigFoot <[email protected]> wrote: > >> Afraid it's not working for me. > > Could you please report a bug with a simple focused test case (steps > > to reproduce) > >http://code.google.com/p/fbug/issues/list > > I'll fix it. > > >> I googled the issue and there are tons of people having the same > >> problem and no one seems to know the answer. > >> Nothing in the documentation either. Absolutely nothing > > True, which is also the reason why users don't know much about this > > (quite useful) feature. As soon as the bug is fixed I'll put together > > a detailed doc about how it works. > > > Thanks! > > Honza > > >> On May 12, 10:30 pm, Jan Odvarko <[email protected]> wrote: > > >> > You can use the following place holders - targets (in the "Arguments" > >> > field of the "Configure Editors" dialog). > >> > %url : current page URL > >> > %file : local temp file path > > >> > These will be dynamically replaced. > > >> > In casehttp://www.google.czisthecurrent page: > >> > %url : "http://www.google.cz/" > >> > %file : "C:\\Users\\Honza\\AppData\\Local\\Temp\\fbtmp\\www.google.cz\ > >> > \index.html" > > >> > Firebug gets the current page and in case of a remote resource > >> > (http://) it saves it's content (the response returned from the > >> > server) into a temp file. In my case (Vista) it's in the following > >> > dir: > >> > "C:\\Users\\Honza\\AppData\\Local\\Temp\\fbtmp\\www.google.cz\ > >> > \index.html" > > >> > If no target (%url, %file) is used, Firebugs appends the above temp > >> > file path automatically as an argument. > > >> > You can also use your own arguments, these will be just copied and > >> > used. > > >> > Honza > > >> > On 12 kvě, 12:44, BigFoot <[email protected]> wrote: > > >> > > Hi there, > > >> > > Could anyone be so kind as to tell me what the Launch Arguments for > >> > > the Open with Editor option would be. > > >> > > I am using TextWrangler as the editor on a Mac. > > >> > > Thanks a bunch. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
