Aleksandar Cikota wrote: > Python code: > import win32com.client > FM = win32com.client.Dispatch('FocusMax.FocusControl') > FM.Focus
Use FM.Focus(). You need the parens to actually call the function. In Python, FM.Focus just returns a reference to the Focus method rather than calling the method. hth Roger _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32