S
Sandy
Hi all,
Is there a way to get window ID in linux using python by just using
the window name (say 'VPython')?
This can be done in (Microsoft) windows (got it from somewhere else,
not tested).
import win32gui
self.VP = win32gui.FindWindow ( None, 'VPython' )
In Linux, we can get window info by executing 'xwininfo' and then
selecting the desired window manually. Can this be done automatically
in python?
Thanks,
Sandy
Is there a way to get window ID in linux using python by just using
the window name (say 'VPython')?
This can be done in (Microsoft) windows (got it from somewhere else,
not tested).
import win32gui
self.VP = win32gui.FindWindow ( None, 'VPython' )
In Linux, we can get window info by executing 'xwininfo' and then
selecting the desired window manually. Can this be done automatically
in python?
Thanks,
Sandy