Re: [Komodo-beta] Need to access command output tab from Python macro
by Kevin Benton other posts by this author
Jan 30 2007 8:43AM messages near this date
view in the new Beta List Site
Re: [Komodo-beta] Need to access command output tab from Python macro
|
Re: [Komodo-beta] Need to access command output tab from Python macro
Trent Mick wrote:
> Brandon Corfman wrote:
>
> > Shane,
> >
> > I'm writing a Python macro that extracts file, line and content
> > information, and I'd like to put the info into a list in the command
> > output tab so the user can double-click on it and jump to a particular
> > line in a file. (In other words, the same functionality that exists in a
> > toolbox command with the "Parse output with" and "Show parsed output as
> > a list" options.) Can you give me some pointers? (I'd use the Command
> > functionality directly, but I need the flexibility/programmability of a
> > macro to report problems, check input, pass both line and column
> > values, etc.)
> >
>
> There is no direct way to do this with a macro. I think the best way to do
> this right now would be to write a script that does that "report problems,
> check input, pass both line and column values, etc." and then use a Run
> Command to run it and parse its output.
>
> Trent
>
>
This is a good candidate for a how-to document :-)
I'm sure others are interested too - I know I am.
Kevin
--
Thread:
Brandon Corfman
Trent Mick
Brandon Corfman
Jeff Griffiths
Brandon Corfman
Trent Mick
Brandon Corfman
Kevin Benton
Trent Mick
Kevin Benton
|