Thanks Honza for your reply. I am not sure I am right, but I use the following code to set value in the editor. -----------------------------------------------------------------------
context.commandLineText = "MY_SCRIPT_COMES_HERE"; ----------------------------------------------------------------------- My another question is that how can I trigger the "Run" button from my extension? Thanks again, Ebrahim On Friday, July 12, 2013 2:10:07 PM UTC+2, Jan Honza Odvarko wrote: > > 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/6386b57c-11a3-4b86-8f75-4e06ccc0b570%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
