Re: [python-win32] (no subject)

2023-05-18 Thread Pranav S Pawar
Hello Mark, Thank you for the response. Just to share Erwin is an Data Modelling tool. I wanted to access Erwin through python and perform manipulations on DataModel through it. Regards, Pranav On Wed, May 17, 2023 at 6:21 PM Mark Hammond wrote: > I'm sorry, but you are very unlikely to

Re: [python-win32] (no subject)

2023-05-17 Thread Mark Hammond
I'm sorry, but you are very unlikely to find anyone on this list with erwin experience. pywin32 is a general purpose library that allows talking to *any* COM object, so there are literally hundreds and hundreds of different apps it can work with. I've never even heard of erwin and have no idea

[python-win32] (no subject)

2023-05-17 Thread Pranav S Pawar
Hello Team, I am getting an error while using persistence_units.CloseAll() method of persistence_units module. of win32com Error: AttributeError: '' object has no attribute 'CloseAll' Below is my code where i am trying to access and erwin datamodel , check connection and close connection. i

[python-win32] (no subject)

2022-04-05 Thread Sanaa Mouzahir
Hello. I hope you are doing well. I have some questions regarding the mapping from VBA to Python. This is regarding the COM object SOLIDWORKS. I am trying to translate the following VBA code: Set skSegment = Part.SketchManager.CreateSpline((pointArray)) Part.ClearSelection2 True

[python-win32] (no subject)

2021-06-09 Thread Fadi Ibrahim
Dear users, Hope you are well and safe and enjoying the summer wherever you are. I have 2 questions and I would highly appreciate it if someone can answer them. 1- The Pywin32 seems to indicate 2 things, a Python IDE and it is also an extension to be added to Python using pip install pywin32

[python-win32] (no subject)

2020-04-14 Thread Nikita Lepetukhin
Hello! I use win32com module and everything is ok but I cannot find the way how to pass VT_DECIMAL variant value to COM object's method. There is a COM interface: interface IProperty : IDispatch { ... [propget, id(DISPID_VALUE)] HRESULT Value([out, retval] VARIANT* pVal); [propput,

[python-win32] (no subject)

2014-03-16 Thread Trevor Haba
Woah, awesome. Thanks Tim!. Since this is for a personal side project I would never have spent enough time to get that working. Thanks! ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] (no subject)

2012-10-22 Thread 徐仲谨
Hi ladies/gentlemen, What I do now is based on Motorola Scan Bar Code SDK to do some development. SDK is COM thing. there are API Commands and API Events as they called. API Commands’ development is finished. But Events no, I tried, but failed. Could u give some help ~ ~. Thank you. CODE

[python-win32] (no subject)

2012-06-29 Thread lucienne roussin
___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] (no subject)

2011-11-06 Thread Mark Hammond
On 6/11/2011 11:33 PM, Michel Claveau wrote: Hi! In win32con, I do not found this constant: FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400 Exemple of use: import ctypes rep=uC:\\web\\fichiers FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400 vret = ctypes.windll.kernel32.GetFileAttributesW(rep) if vret

[python-win32] (no subject)

2010-03-31 Thread hitheam mohamed
Hi, I have a script that runs smoothly on a local copy of an excel workbook. I want to implement this so that it can access a shared version of the workbook but I would like to kick out any users that currently have the shared version open. Is it possibly to kick out any users with an

Re: [python-win32] (no subject)

2010-03-31 Thread Tim Roberts
hitheam mohamed wrote: I have a script that runs smoothly on a local copy of an excel workbook. I want to implement this so that it can access a shared version of the workbook but I would like to kick out any users that currently have the shared version open. Is it possibly to kick out any

[python-win32] (no subject)

2010-03-23 Thread Phung Thuy Vuong
Hello! Can anyone give me some hint please? I'm trying to make a log file which keep track of a specific application. For example, I need to punch the time et date where an application, such as Firefox, is opened and when it's closed. I also need to detect when the application goes to idle

Re: [python-win32] (no subject)

2010-03-23 Thread Tim Roberts
Phung Thuy Vuong wrote: Can anyone give me some hint please? I'm trying to make a log file which keep track of a specific application. For example, I need to punch the time et date where an application, such as Firefox, is opened and when it's closed. I also need to detect when the

Re: [python-win32] (no subject)

2010-03-23 Thread Tim Roberts
David Hutto wrote: On Tue, Mar 23, 2010 at 6:11 PM, Tim Roberts t...@probo.com wrote: Phung Thuy Vuong wrote: Can anyone give me some hint please? I'm trying to make a log file which keep track of a specific application. For example, I need to punch the time et date where an

[python-win32] (no subject)

2009-07-22 Thread Gary Smith
Hi All, I built a Python com server to solve regular expressions for use in a VBA application. Here's the code: import pythoncom import re import string class reObj: _public_methods_ = [re] _reg_progid_ = Python.reObj _reg_clsid_ =

[python-win32] (no subject)

2009-01-22 Thread dan
I am writing a simple client and server that communicate using a duplex-mode named pipe on Windows. For my initial effort, the server used the Windows API calls to set up the pipe and communicate with it, but the client used the regular Python file methods. This works for exactly one

Re: [python-win32] (no subject)

2009-01-22 Thread Tim Roberts
d...@shragmir.com wrote: This is not the end of the world, because I can write the client application to use win32 API calls instead of the Python calls. But does anyone have any notion of why this is happening? I am hoping the answer may help me write clients in other applications (where I

[python-win32] (no subject)

2008-05-01 Thread John Siegrist
var YAHOO = {'Shortcuts' : {}}; YAHOO.Shortcuts.hasSensitiveText = true; YAHOO.Shortcuts.sensitivityType = [sensitive_news_terms]; YAHOO.Shortcuts.doUlt = false; YAHOO.Shortcuts.location = us; YAHOO.Shortcuts.document_id = 0; YAHOO.Shortcuts.document_type = ; YAHOO.Shortcuts.document_title =

Re: [python-win32] (no subject)

2008-04-29 Thread Tim Golden
Alex Denham wrote: Thanks mike, i was thinking of doing something along those lines using the os modules tmpfile() method. Althought i'm pretty i can post custom events to the Tkinter event loop, will try that first. Sorry, Alex. I've only just spotted this thread. I think what's happening

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
]; python-win32@python.org Subject: Re: [python-win32] (no subject) Alex Denham wrote: Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
: f = Files[0] Files = [] else: pass self.after(1000, self.filesDropped) [/code] Thanks for everyone's help, Alex Date: Tue, 29 Apr 2008 10:58:17 +0100 From: [EMAIL PROTECTED] CC: python-win32@python.org Subject: Re: [python-win32] (no subject) Alex Denham wrote

Re: [python-win32] (no subject)

2008-04-28 Thread Mike Driscoll
Alex Denham wrote: Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class which handles all the GUI drawing/event handling etc. The function in

[python-win32] (no subject)

2008-04-26 Thread Alex Denham
Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class which handles all the GUI drawing/event handling etc. The function in question gets called from a

[python-win32] (no subject)

2006-09-23 Thread Michael S
Good day all. I am trying to write a short Python script to create some PDFs. I create instances of App, AVDoc and PDDoc using the following syntax: app = Dispatch(AcroExch.App) doc = Dispatch(AcroExch.AVDoc) pd = Dispatch(AcroExch.PDDoc) However when I call pd = doc.GetPDDoc(), the Python

Re: [python-win32] (no subject)

2005-06-16 Thread Jim Vickroy
Assuming you have tkinter installed as part of your Python distribution, I have attached a demo (courtesy of Mark Hammond) that shows much of what is possible (e.g., menus, buttons, etc.). Hope this helps. -- jv habtamu gulilat wrote: am habtamu from Netherlands I need to prepare

[python-win32] (no subject)

2005-01-26 Thread Jeff Peery
Hello, I am using wxpython and I am having trouble passing variables from one frame to another. If I have a parent frame frame1 and I call a dialog using the following text: dlg = wxDialog2.wxDialog2(self) try: dlg.ShowModal() finally: dlg.Destroy() where in this bit of