Check if Cinema window is active
-
Hi everyone!
Is there a way to get info from Cinema, whether the main window is active or in focus?
I know dialogs have the isActive() function. I also know you get get the editor window via the baseDraw.GetEditorWindow() but there doesn't seem to be anything helpful there.
Can you get the state of the main window somehow?`Thanks!
-
Hi @Boony2000, the current Cinema 4D API does not offer this feature. So you will need to look at some external modules, which are OS dependent. https://stackoverflow.com/questions/10266281/obtain-active-window-using-python
I'm afraid we can't provide you more help on that.
Cheers,
Maxime. -
Ok, that's a shame. Would have been useful.
Thanks anyway.