Hi, everybody!
I'm trying to automate some tasks in AutoCAD (version 16.2 -- 2006) with
Python and COM. Apparently there is a long standind bug with either
win32com or AutoCAD:
http://mail.python.org/pipermail/python-win32/2005-December/004075.html
and I am having the same problem. Does
Tim Roberts wrote:
EISEN Nicolas wrote:
/ from win32gui import *
import win32con
listHicon = ExtractIconEx(c:\OpenOffice.exe,0)
test =
LoadImage(listHicon[0],c:\OpenOffice.exe,0,0,0,win32con.LR_DEFAULTSIZE)
tupleIcon = GetIconInfo(test)/
To use GetIconInfo
Costin Gamenţ schrieb:
Hi, everybody!
I'm trying to automate some tasks in AutoCAD (version 16.2 -- 2006) with
Python and COM. Apparently there is a long standind bug with either
win32com or AutoCAD:
http://mail.python.org/pipermail/python-win32/2005-December/004075.html
and I am
I'm new to using the win32 module and I've written a little service in
python for myself. It runs fine and without errors when I use debug:
python myService.py debug
Debugging service myService - press Ctrl+C to stop.
This works and prints to a log file I set up just fine, so I know it's
working
Tim Roberts wrote:
EISEN Nicolas wrote:
/ from win32gui import *
import win32con
listHicon = ExtractIconEx(c:\OpenOffice.exe,0)
test =
LoadImage(listHicon[0],c:\OpenOffice.exe,0,0,0,win32con.LR_DEFAULTSIZE)
tupleIcon = GetIconInfo(test)/
To use GetIconInfo
want to put new functions (short python code) on keys like F1,
F12, Ctrl-F1 and other keys.
Is there a mechanism/recipe ?
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
EISEN Nicolas wrote:
I'm lucky, I found ...
My Source :
/from win32gui import *
import win32con
from pywintypes import HANDLE
import win32ui
listHicon = ExtractIconEx(c:\OpenOffice.exe,0)
tupleIcon = GetIconInfo (HANDLE ( listHicon[0][0] ) )
bitmapColor = tupel [4]
On Tue, 28 Apr 2009 15:04:05 +0300, Thomas Heller thel...@ctypes.org
wrote:
You could try comtypes, it allows to specify the exact parameters that
are passed as VARIANTs. There is even a sample snippet for autocad
in the docs:
http://starship.python.net/crew/theller/comtypes/
Thomas