If I wanted to send it to Sublime text 2, I simply change the
output=QtGui.Sublime, so I can give it a shot ?
Justin Israel wrote:
I don't have a tool to recommend, but there are a number of ways to
hook into both the logger and the script editor for different goals.
One way is to set up a callback so that you can tee the output and
direct it into something else:
|import maya.OpenMayaas om
from PySideimport QtGui
# Some alternate target to receive
# Script Editor output
OUTPUT = QtGui.QTextEdit()
OUTPUT.show()
OUTPUT.raise_()
def callback(msg, *args):
OUTPUT.append(msg.strip())
# Start the callback
cbk_id = om.MCommandMessage.addCommandOutputFilterCallback(callback)
# Stop the callback
#om.MCommandMessage.removeCallback(cbk_id)
|
Hopefully that does what you want?
On Sat, Jun 20, 2015 at 12:46 PM Christopher.
<[email protected] <mailto:[email protected]>> wrote:
Can we not feed what the output window produces into another
output window with line numbers and such for easier debugging and
cutting and pasting ? Maybe I'm the only one that finds the native
output window a little like finding my way though the Amazonian
rain forest.
Anyone know of such a tool in existence I would be so happy, if
anyone cares about my happiness, that is !
--
You received this message because you are subscribed to the Google
Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/f9b1ce8d-ba72-4ae1-ab7c-ecbc4c2d08ef%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/f9b1ce8d-ba72-4ae1-ab7c-ecbc4c2d08ef%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/python_inside_maya/J3RhFyC-pPY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0dftbCGz9EgYB7KozM_F-MSm4%2B77bbmKCcFHowWpNOfw%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0dftbCGz9EgYB7KozM_F-MSm4%2B77bbmKCcFHowWpNOfw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python
Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/558601BE.40302%40gmail.com.
For more options, visit https://groups.google.com/d/optout.