[python-win32] Threading problem

2006-04-18 Thread Aleksandar Cikota
 Hi all,   I have a problem with threading. It should work, but it cannot open a file (Document.OpenFile) if "def run (self):"  is in the code. Else the programm doesn't work.   Code:   import win32com.clientimport timeimport osimport threadingDocument = win32com.client.Dispatch('MaxIm.Docum

[python-win32] BSTR

2006-04-13 Thread Aleksandar Cikota
ame instead of passing it as aliteral, or perhaps there's something equivalent to a C++ cast operator or aVB 'type' function (CInt, CStr, etc.).This problem is likely to affect any MaxIm DL automation method that takes astring as

Re: [python-win32] Python-win32 Digest, Vol 37, Issue 10

2006-04-10 Thread Aleksandar Cikota
PROTECTED]   You can reach the person managing the list at   [EMAIL PROTECTED]   When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-win32 digest..."     Today's Topics:      1.  Re: Code help (Roger Upole)    2. Re: Code help (Aleksandar Cikot

[python-win32] Code help

2006-04-09 Thread Aleksandar Cikota
thon code: import win32com.clientFM = win32com.client.Dispatch('FocusMax.FocusControl')FM.Focus     _vbscript_ (that works): Set FM = CreateObject("FocusMax.FocusControl")FM.Focus     I would be very thankful, if you try to help me!     For your prompt reply, I say thank you