right direction?
Usually it's easier to translate VBA statements to Python statements
HTH
Niki
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
On 15.01.2013 00:32, Tom Bowles wrote:>
>
> Does anybody have any thoughts on this?
IIRC re-initialization of binary modules is supported in python3.
Hope to be wrong,
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.p
should be possible as e.g. "trine 2" game has configuration
for using several (mouse + keyboard)
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
use something that is
compiled, like C++. Even compiled code can be reverse-engineered, but
it's much harder.
IMHO not true. Professional decompilers for C++ are much better than
python decompilers. Example: hex-rays
Niki
___
python-win32 mailing
Without the key files are unusable.
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
point something (but I'm not sure what) to mark end of page.
It might just be an EOF character.
Maybe FF (form feed)?
HTH
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Tony Cappellini wrote:
Thanks- but is that attempting to delete a dll? Is there a
No. This checks if next delete request will succeed. It's safe to use
without deleting anything.
Niki
___
python-win32 mailing list
python-win32@python.org
r a way to scan/probe to see if any apps are running
which have these dll's loaded.
How would I go about this with Python ?
test = win32file.CreateFile(f, win32con.DELETE, 0, None,
win32con.OPEN_EXISTING, 0, None)
HTH
Niki
___
python-win32 maili
try this (simple mapi with ctypes):
http://aspn.activestate.com/ASPN/Mail/Message/ctypes-users/2095322
HTH
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Aahz wrote:
h = win32file.CreateFile(fname, win32file.GENERIC_READ, 0, None,
win32file.OPEN_EXISTING, win32file.FILE_FLAG_NO_BUFFERING, None)
I used OPEN_FOR_DELETE to do similar test.
regards,
Niki
___
python-win32 mailing list
python-win32
Info.RedirectStandardOutput = True
p.StartInfo.UseShellExecute = False
p.StartInfo.CreateNoWindow = True
p.Start()
You can try UseShellExecute = True or start cmd.exe /c python.exe ...
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
IIRC status bar is usually child window. You have to enumerate children
and get text from there.
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
d, and if so, how do I go about it?
IIRC one have to patch PreTranslateMessage code in order to get all
variants to work. I can dig my old patches if required, but using MFC is
PITA anyway. Venster project has some good substitute ctypes code.
Niki
___
Michel Claveau wrote:
Hi!
Perso, I use a HTML-GUI (with Python => PyWin32 => IE+Jscript library).
It is self-important for me, and enough fun...
Have you tried pyjamas or pyjamas-desctop?
HTH
Niki
___
python-win32 mailing list
python
onerous would it be to change PyCom_BuildPyException
to call FormatMessageW and to return true Unicode objects?
Non-trivial, I imagine, since that function's called everywhere,
but maybe now's the time...?
[... three questions; nobody expects ...]
3) Is there something more obvious which I've missed?
, lang, 'raskroy.chm')
import win32help
h = win32help.HtmlHelp(0, chm, 0, url)
HTH
Niki Spahiev
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ap.
Not inside :) GDI+ is pure .h file C++ wrapper over C dll. ctypes
wrapper exists somewhere. I have small prototype too.
HTH
Niki Spahiev
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
I have small ctypes package for dynamic win32 dialogs
(DialogBoxIndirectParam) which can be adapted for using resources.
I will mail it on request.
Niki Spahiev
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman
accomplish this in Python? I will be
> thankful for the comments and suggestions. I am using Python 2.3.
Try PIL (Python imaging library)
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ag mouse without releasing. After mouse
leaves button area see what happens. Releasing mouse outside button has
no effect.
HTH
Niki
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ons of PythonWin
> installed concurrently.
Nothing IFIAK, i have 2.3, 2.4 and 2.5 installed with pywin32
Niki Spahiev
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Tim Roberts wrote:
> niki wrote:
>>> As I understand it, win32gui exposes the raw GDI APIs and deals with raw
>>> GDI handles as plain integers. win32ui is an attempt to wrap the raw
>>> GDI interfaces with Pythonic wrapper objects.
>> IIRC win32ui is MFC based
> As I understand it, win32gui exposes the raw GDI APIs and deals with raw
> GDI handles as plain integers. win32ui is an attempt to wrap the raw
> GDI interfaces with Pythonic wrapper objects.
IIRC win32ui is MFC based and better avoided.
Nik
E R wrote:
> Is this what you were thinking of?
>
> http://liris.cnrs.fr/advene/
No. I found it now. Its http://sourceforge.net/projects/transana
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.or
rtain offset. Does anyone know how to
> do this?
>
> Also, I don't have to use WMP if this can be done easier with another
> media player. All I need to play are MPEG2 video files.
IIRC there is wxPython based project with same goals. And IIRC its open
source.
Niki Spahiev
__
ve tried WM_SIZE, WM_ACTIVATE, etc.
>
> BTW, I'm using ActivePython 2.4, which comes with pywin32 bundled. I'm
> not sure if PYWIN_WITH_WINDOWPROC is defined in ActivePython.
Hooks are based on special MFC glue code. When this glue code is not
active some messages are handl
s not unique to WM_SIZE, but any handlers that are hooked by
> HookMessage.
>
> Appreciate if anyone can help shed some light on this. Thanks.
In order to hook more messages (e.g. WM_SIZE) you must recompile pywin32
with PYWIN_WITH_WINDOWPROC defined
HTH
Niki Spahiev
__
ster with the same _reg_clsid_? Is my registry
> irreversibly messed up?
Try to split code to almost static COM and dynamic logic and then
reload() logic module.
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python
then win32gui to copy data to
wxBitmap
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
r pure win32 dialogs in plug-ins for another CAD
system.
regards,
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
version for 2.4 installs file:
pywin32-210-py2.6.egg-info
IAUC it must be py2.4.egg?
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
.py in your python installation.
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
> Any help would be much appreciated.
IIRC there is ctypes based AcitveX demo. Maybe in venster. No wxPython
though.
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Johannes Brunen wrote:
> File
> "C:\DOKUME~1\Arthur\LOKALE~1\Temp\gen_py\2.4\9C3BB401-114D-11D4-AC72-00105A4925FCx0x1x2\__init__.py",
> line 57
Remove encoding comment from start of this file.
HTH
Niki Spahiev
___
Python-win32
ing pyserial with dumb devices (CNC). IMO it should
work with smart devices too.
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
It's better to use wxPython list questions about wxPython.
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
res I miss are an integrated file
manager and an integrated debugger.
There is something called FilerX IIRC for organizing projects with
scite. For debugger try HAP debugger @ sf.net (scintilla based too)
HTH
Niki Spahiev
___
Python-win32 mailing list
P
happen to have the zips handy, do you?
I have this:
-rw--- 1 niki users 1459352 Apr 1 2004 4-04-01/adder-0.3.3-src.zip
-rw--- 1 niki users 137800 Apr 1 2004 4-04-01/adder-0.3.3-win32.zip
-rw--- 1 niki users 69801 Apr 1 2004 4-04-01/adder-manual.zip
Do you want any of them? By
hooks, but that's a pretty
high level of guruness. Google for "api dll injection".
There is module for injection of *python* code in win32 apps.
http://security.opennet.ru/base/patches/1080837482_191.txt.html
HTH
Niki Spahiev
___
Python-
ough.
IIRC there is new module process which replaces popen with better
functionality.
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
such thing.
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
implemented in PyWin32.
Does anyone know if there's a way to do this? I'm new at this, so my
apologies if the question is basic or misguided, but I haven't found an
obvious solution in the archives or elsewhere.
Try console module from effbot o
McMillan
Installer fails importing win32gui.
Try importing pywintypes before win32gui
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
objects are destroyed, the resources
will be released.
IMHO only win32ui objects are automatic.
Niki Spahiev
--
Ð ÑÐÐÐ,
ÐÐÐ ÐÐÐÑÐÐÐ
ÐÐÐÑÐÑ ÐÐÐ
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
making PDF in sf.net.
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
N
| win32con.PRF_CLIENT | win32con.PRF_OWNED)
check that hdc is valid DC handle.
HTH
Niki Spahiev
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Bob Gailer wrote:
This is symptomatic of a long-standing unsolved Pythonwin problem in
which Pythonwin keeps adding toobar entries to the registry until it
chokes.
This i have other programs (e.g. WinCVS) with same problem. Maybe its
bug in MFC?
Niki Spahiev
ept for me) but hey, its a protection against future redundancies
! However if you know any gotchyas with ActiveX exe/win32com
integration that I could look out for then that would be great.
Check venster (sf.net) there is demo with flash OCX, and controlling it
is OK.
HTH
Ni
Check py2exe. It contains some utility modules that do such things.
HTH
Niki Spahiev
___
Python-win32 mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-win32
Simon Brunning wrote:
Oops, I forgot. I'm using Python 2.3.4 and buil 163 of win32all. I'm
driving iTunes version 4.7 on Windows 2000 workstation.
And tying build 202 gives?
Niki Spahiev
___
Python-win32 mailing list
[EMAIL PROTE
50 matches
Mail list logo