Thanks for the help.
Couldn't figure out how to make 'load content' flag work, but it looks like 
'insertText' flag actually does the job.

On Friday, October 5, 2018 at 9:05:31 PM UTC-7, combi wrote:
>
> Hi,
> Did you look at the cmdScrollFieldExecuter command?
> It looks like it has flags to load content in the editable part of the 
> script editor.
>
>
> Le sam. 6 oct. 2018 04:49, Alexey Vasilyev <[email protected] <javascript:>> 
> a écrit :
>
>> Hi.
>> It should be simple, but I just can't find the answer for some reason.
>> I'm trying to assemble a simple script browser.
>> What I need is a command, that opens mel of python files in Maya's script 
>> editor.
>> Thanks in advance.
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/59dab81c-47f2-4d81-acc1-834fa4820df6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/59dab81c-47f2-4d81-acc1-834fa4820df6%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 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/e0fbd25c-56ab-41dc-acc0-f5b0d9c53c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to