FocusMax.FocusControl.Focus starts the auto focus operation and returns when Focus is complete. This Method has the same effect as if the user clicked the Focus button on the Focus tab (in FocusMax), but there is no reaction and I don't get any error message.
Python code: FM.Focus() # you need the parentheses to call the method in VBScript, the parentheses are not required I sometimes forget the parentheses too when porting VB COM code to Python _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32