Re: [Komodo-beta] Need to access command output tab from Python macro
by Trent Mick other posts by this author
Jan 30 2007 8:35AM messages near this date
view in the new Beta List Site
[Komodo-beta] Need to access command output tab from Python macro
|
Re: [Komodo-beta] Need to access command output tab from Python macro
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
--
Trent Mick
trentm@[...].com
_______________________________________________
Komodo-beta mailing list
Komodo-beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/komodo-beta
Thread:
Brandon Corfman
Trent Mick
Brandon Corfman
Jeff Griffiths
Brandon Corfman
Trent Mick
Brandon Corfman
Kevin Benton
Trent Mick
Kevin Benton
|