The Command Line implementation (module) is here: https://github.com/firebug/firebug/blob/master/extension/content/firebug/console/commandLine.js
You can see how getExpression is done https://github.com/firebug/firebug/blob/master/extension/content/firebug/console/commandLine.js#L719 and how clear() is done https://github.com/firebug/firebug/blob/master/extension/content/firebug/console/commandLine.js#L375 Honza On Friday, July 12, 2013 1:46:48 PM UTC+2, Ebrahim wrote: > > Hi everybody, > > Could you please help me how can I access to the command line in the > console panel from my extension? > > I want to programmatically copy a script within my extension in the > command line, run it, when is done, clear the editor. > > Thanks for any help, > > Ebrahim > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/500ce7fa-4852-40de-b478-b4a5d92cc9c9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
