Re: [python-win32] Code help (Aleksandar Cikota)

2006-04-09 Thread Bob Gailer
Justin Ezequiel wrote: > 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. > > Pyt

Re: [python-win32] Code help

2006-04-09 Thread timr
On Sun, 9 Apr 2006 11:41:02, "Aleksandar Cikota" <[EMAIL PROTECTED]> wrote: > > > 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

Re: [python-win32] Code help (Aleksandar Cikota)

2006-04-09 Thread Justin Ezequiel
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 th

[python-win32] Re: Code help

2006-04-09 Thread Roger Upole
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.

[python-win32] Code help

2006-04-09 Thread Aleksandar Cikota
Hi all,   I started to write a software for our future robotic telescope in Python. We decided that we will use FocusMax for focusing: http://users.bsdwebsolutions.com/~larryweber/ but I have a problem with focusing.   FocusMax.FocusControl.Focus starts the auto focus operation and returns