Hey Yury, If I understand correctly, this is a preference and if I remember it isn't on by default.
Preferences -> Interface -> Command Line: Hold Focus [x] Does checking this box solve your problem? Chris On Wed, Oct 14, 2015 at 10:09 AM, yury nedelin <[email protected]> wrote: > Justin, > Thanks for replying, I will try this approach to put script editor in > focus. > > There is an added issue of putting the command input section of the > script editor in focus. > > Yury > On Oct 14, 2015 12:51 AM, "Justin Israel" <[email protected]> wrote: > >> I don't know much about this particular problem, since on my OSX machine >> w/ Maya 2015 it does not lose focus. But you could probably install an >> event filter on the QApplication, to detect the ApplicationDeactivate >> and ApplicationActivate events. You could then handle checking if the >> script editor is up and on top, and if so, give it editing focus again. >> >> Justin >> >> >> >> On Wed, 14 Oct 2015 5:30 PM ynedelin <[email protected]> wrote: >> >>> Behavior I am used to is this: >>> if I am typing something in Maya Script Editor Command Input (bottom) >>> section and then ALT+TAB into another software like Notepad and then >>> ALT+TAB back into Maya my cursor is back in script editor at the place I >>> left it so I can continue to type stuff. >>> >>> This how it used to be on window machines in classic theme until windows >>> 8 and that how it works on osx. >>> >>> I got a new machine with windows 8 and now when I ALT-TAB back to Maya >>> script editor cursor is not back in the script editor's Command Input >>> (bottom) but some other panel is in focus in Maya so now I have to grab the >>> mouse and click in the Command Input aria manually ! >>> This is very annoying. >>> >>> Anyone has any suggestions ? >>> is there a way to force cursor into the Command Input section of the >>> Script editor with code? >>> >>> Thank you >>> >>> Yury >>> >>> -- >>> 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/516e6c92-4325-42b4-8f01-24f2b164a1f8%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/516e6c92-4325-42b4-8f01-24f2b164a1f8%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/CAPGFgA1B1_Zqkbwsp-%3Dk6Kf%3DDwU8fqpcuRqyHnxv%2BNN1m2r90g%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1B1_Zqkbwsp-%3Dk6Kf%3DDwU8fqpcuRqyHnxv%2BNN1m2r90g%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/CACqGSchoWTKf7Mi5xKp58rLirkB6Y-hRY5s5oYy-XE_hcpPS0A%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CACqGSchoWTKf7Mi5xKp58rLirkB6Y-hRY5s5oYy-XE_hcpPS0A%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/CAHUba0JoCuOefm2n9M9-3gmL-nz7ztUgz_eTLBMqhoRLKwFi-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
