/autoit3/ (en anglais)
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
please post the sample
(the smallest you can make it), and the complete Python tracebacks you see?
Regards,
Mark
Hi !
I want to make few other tests, with a (new) CPU formated between the tests.
Will take during few hours (days?)
I will write the results here.
@-salutations
--
Michel Claveau
.
Apologies for trouble because my action.
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
')
word.ActiveDocument.Close(SaveChanges = -1)
word.Quit()
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi !
If, by chance, you pass in Ardeche (*), France, I could show you interesting
things. If not, I would have evil, by e-mail (my English is too bad).
(*) See :
http://www.marathon-ardeche.com/SiteMarathon/gorges_ardeche/gorges_htm/20001113_gorges_2.htm
Michel Claveau
Hi !
I had the same problem.
After search : MSComm is not a free componant. You must have a complete
licence of VB ou VC++, and use the MS-install procedure.
Perhaps, you can use Pyserial, or another Python-library ?
@-salutations
--
Michel Claveau
Hi !
Try, with the src property, like :
import win32com.client
test = win32com.client.Dispatch(AcroPDF.PDF.1)
test.src=C:\\107.pdf
test.LoadFile(C:\\107.pdf)
print test.GetVersions()
etc.
@-salutations
Michel Claveau
Hi !
...macro in Word, I can see there this wdFormatText and even in some
tutorial I saw in used in this way...
You can to watch the class I had create, for to tele-command word, here:
http://mclaveau.com/ress/python/pxword.htm
(and look the saveas method)
@-salutations
Michel Claveau
MakePy (in PinWin). MakePy gives all information.
Thanks, M. Hammond.
Good luck ! And sorry for my *bad english*
@-salutations
--
Michel Claveau
mél : http://cerbermail.com/?6J1TthIa8B
sites : http://mclaveau.com http://bergoiata.org http://ponx.org
newsgroups (utilisateur: zoo passe
: how to use (call functions with parameters) a (my)
dynamic-COM-server-Python, since Python?
Last infos : Python 2.4.2 ; PyWin32 205 ; Win-XP-SP2 ; Bedside's book:
Programming Python on win32.
Thank you in advance, for any answer
Michel Claveau
pythoncom.DISPATCH_PROPERTYGET:
raise COMException(inexistant, winerror.DISP_E_MEMBERNOTFOUND)
solve the problem.
Thank, Mark. You are great, in the Python's hall of fame!
Good night.
Michel Claveau
___
Python-win32 mailing list
Python-win32
Hi!
Your function pyCOMSplit is a method of the class PythonCOMServer. Please,
add'self', like this :
def pyCOMSplit(self, StringFromVB):
It's all
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org
Hi!
Search ietoolbar.py, in the directories of standard install of PyWin32.
Run OK (for me).
It's not the good answer to your question, but near.
*sorry for my bad english*
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32
enthousiasmé.
Python + PyWin32 ( PythonCom) + Windows, c'est fan-tas-tique ! Merci,
MERCI, MERCI BEAUCOUP, à tous ceux qui nous ont donné ces outils.
*sorry for my bad (babelized) english*
@-salutations
Michel Claveau
___
Python-win32 mailing
not know yet read the result of a drag-and-drop, a
copy/paste, or a selection.
In short, it is a very interesting tool, which has an appreciable potential.
@+
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman
Downloaded, installed, OK.
Then, = on my Dist. CD
Thank you very much.
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
Just for info :
You have many exemples of WMI with Python, on this MS's site :
http://www.microsoft.com/technet/scriptcenter/scripts/python
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http
.
An idea? Thanks by advance.
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
).
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
of error obtained :
Attribute Error! 'win32com.gen_py.Microsoft
HTML Object Library.DispHTMLSelectElement instance at 0x51317176' object has
no attribute 'inner Html'
Other personns in the same case?
@+
Michel Claveau
___
Python-win32
Hi!
Until some months :
http://sourceforge.net/project/showfiles.php?group_id=78018
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi, Paul!
Sorry, I wasn't clear. That version produces API version mismatch
warnings with the latest Python 2.5 beta. A rebuild of pywin32 is needed
to fix this, unfortunately.
Afflicted. It's me which has reacts inopportunely. Your message/intervention
was justified.
@+
Michel Claveau
Mark Roger : thank you very very much!!!
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
sentence)
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
doute aussi le ProgID).
Sinon, il existe des utilitaires pour cela.
Bon courage.
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
junction point
But... where is equivalents functions in pywin32?
I had (perhaps) found: SetVolumeMountPoint
(http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/win32file_.28more.29__SetVolumeMountPoint_meth.html)
Thanks
Michel Claveau
Hi!
Just a little way: http://wikipython.flibuste.net/
see the section CodeWindows
This wiki is in french ; but the (exemples of) code is in python.
@-salutations
--
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http
Hi!
This is no a PyWin32 problem. It's a Vista resctriction.
You must configure your software, for give to rights of launch.
Your code run OK, for execute a(nother) software, in another directory (I
had try).
@-salutations
Michel Claveau
control the Javascript side, I make a little function who return (a
pointer on) the object ; if the attribute is an object.
But, if you know a way for access to these kind of attributes, I will read
your answer, with mental thanks.
@-salutations
Michel Claveau
(sorry for my bad english
-create
way.
But it's only my personal opinion.
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
I'have a problem with this code :
import win32gui
fname=win32gui.GetOpenFileNameW(InitialDir=C:\\dev)[0]
print fname
The InitialDir is not set. It's already the last dir opened, and not my
request.
Any idea ? Thanks by advance.
Michel Claveau
, without the problem.
On my computer, I had spécified Python.exe in exclusion mode, and ... no
longer problem.
Apologies for trouble, and thanks for ta have try my code.
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http
) there are strong chances so that it is utf-16
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hello!
All comments welcome!
CCC = Clear Cool for a Caboodle
OK, good work ; you can, now, go to holidays...
if it's in France, I have some rocks (in drink), for you ;-o)
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python
this :
v_iexplore.Document.parentWindow.Welcome()
(more easy, more nice, and most of all, more fun)
@-salutations
Michel Claveau
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
I had search, in past, for have one PyWin for normal development, and one
for the Python 2.3 include in OOo.
But, I was not able any to carry out that...
Perhaps what a guru/designer/developper would know some more?
@-salutations
Michel Claveau
Hi!
Niki:
i have 2.3, 2.4 and 2.5 installed with pywin32
But Python COM server is registred only once way.
I think that it's not possible to have Python COM server on 2.5, 2.4 2.3
simultaneously.
Perhaps I'am wrong. In this case, witch way?
@+
Michel Claveau
?) an example of use that in C# for call my
Python-COM-server.
And
If it's possible for C#, it's not possible for PowerShell. PowerShell can
use ONLY COM-server with TLB. (wait next release?)
@-salutations
Michel Claveau
( sorry for my bad english
. Attention à un point : à partir d'un objet OLE, il est des
fois difficile de retrouver l'objet COM correspondant (sous-jacent).
Mais, qu'appelez-vous propriétés persistance, et, surtout, en quoi les
distinguez-vous des propriétés normales.
@-salutations
Michel Claveau
Hi!
For access to dotNET resources from Python, a good way :
http://sourceforge.net/projects/pythonnet/
@+
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
... if you (re)-start from zero.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
Try this:
import os
os.system('start TITLE cmd /KCD /DD:\\Dev\\python') #for dir:
D:\\Dev\\python
(TITLE is the title (yes!) of the window)
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http
Line Utility)
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
problem is: I am not able to write a Mailslot server. I don't
found any wrapper of the (kernel32) CreateMailslot et ReadFile functions.
On this subject, Google is not my friend...
Any idea? Perhaps a feature for the next release of PyWin32?
Thank you to have read me.
Michel Claveau
of
interactions with BATCH (with waitfor.exe), and I will show you that. But,
considering my current workload, that will take a few days...
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman
Hi!
Look here:
http://mail.python.org/pipermail/python-win32/
Perso, I see up December-2007
@+
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
I've added CreateMailslot, GetMailslotInfo and SetMailslotInfo to
win32file, so they should be available in the next release.
3 points :
- thanks, Roger
- Aggg! All this work, and all this time spent (by me), for
nothing!
- thanks, Roger!!!
@-salutations
Michel
, it
is already made!)
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
For info.
Since SP-1 of MS-Office-2007 (december), in Vista, the PyWin add-in for
Excel crashs lamentably...
But, today, a (windows)-update corrects the problem. (you must re-activate
blocked add-ins)
Joy: Youpi!
@-salutations
Michel Claveau
Hi!
I have a class (not finished, but run OK), for drive OOo from PyWin32.
See below.
@+
Michel Claveau
#
# -*- coding: cp1252 -*-
#
# by Michel Claveau Informatique
# http://mclaveau.com
#
import types
import time
import
elevation, my
installs run OK.
Sorry for my bad English, and the half out-subject, and... have a good day.
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
Sorry, I can't read THE book, today.
I only wish to say than Python-COM-dynamic-server run very well. I use this
techno all days, and also many of my customers (but they don't know it ;
because it's transparent, for them).
@-salutations
Michel Claveau
...)
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
, to remove, obtain the contents of it, etc. And, therefore, not
only to send new messages.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
Server Busy is primarily during the opening of the server.
Minimize the code inside opening (or use thread), for a faster return).
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
; run OK (a bit slow)
ietoolbar: install OK ; run OK.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
If you replace localhost by 127.0.0.1, Vista become fast...
e.g. :s=xmlrpclib.ServerProxy(http://127.0.0.1:8080;)
I think that it's a name resolution problem...
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python
set global ecncapability=disabled
Results: my Vista become twice faster than my XP...
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
really important.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Thanks for the return.
Another thing: do you have sun in NL?
;-)
Michel Claveau ; Ardèche ; France.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Windows-Serveur-2008-64bits
(mais, auparavant, sous Vista, XP, 2000, 2003, etc.)
Je n'ai eu aucun problème. Mais, j'ai fait ça en Administrateur, avec l'UAC
(contrôle des comptes utilisateurs) désactivé, et le parefeu désactivé.
@-salutations
--
Michel Claveau
Hi !
I'm trying to save the output of some TTS to a sound file, is this
possible?
Yes, it's possible.
I had done that (save MS-agent's blah-blah), under XP, with Python.
But, sorry, I completely forgot how I had proceeded...
I remember only that I had used MCI.
@-salutations
--
Michel
Hi!
Since Vista, Windows-Explorer and Internet-Explorer are separate. Previously
it was possible to drive Windows-Explorer via COM.
Vista made that impossible.
IMO, you must seek another way that COM. Sorry.
Michel Claveau
___
python-win32
Hi!
Many printers do not handle transparency. What kind of printer is it?
An invisible printer?
;-)
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
, tout ça n'est pas lié à Python.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
For IPC.Mailslot, if you need, you can look my little example-code (below).
Tested for compatibility with Vista.waitfor.exe ; and tested XP =
Vista via LAN
(sorry for my bad english)
@-salutations
--
Michel Claveau
# -*- coding: cp1252 -*-
def mailslotserver(duree=99
Hi!
I've finally released pywin32 build 211!
Super mega very great new!
To celebrate that, I invite you to aperitif, today, at midday.
It's here:
http://maps.google.com/?ie=UTF8om=1ll=44.384614,4.639181spn=0.013801,0.045877t=hz=15at
very soon;o)Michel Claveau
pythoncom warning: PyVARDESC ctor has unknown varkind (3) - returning None
No problem when I run my scripts. But, I don't understand the message (the
worst: it is not even in French!).
If somebody has an explanation (easy to understand), thanks in advance.
Michel Claveau
Hi!
You ( MH) already proved your know-how.
IMO, the best way is: made as you want...
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
(Tandy), Sirius ( Victor),
IBM, T1100 (Toshiba, the fisrt true laptop), etc. etc.
But, it was at the previous millenium. The future is P3K.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
')
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Sunday, with sun, bathe and aperitif.
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
, attendre que tout soit
initialisé.
@-salutations
--
Michel Claveau
PS : ce n'est pas un problème Python.
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
very few French
voices.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
ActiveState has a package, for install Python + Pywin32 (+ others), with
quiet install.
@-salutations
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
')
mci.directsend('set toto time format milliseconds')
err,buf=mci.directsend('status toto length ')
print 'Duree du fichier : ',buf,' millisecondes'
err,buf=mci.directsend('play toto from 0 to '+str(buf))
time.sleep(int(buf)/1000)
mci.directsend('close toto')
@-salutations
--
Michel Claveau
Hi!
This is perfect. Works like a charm ... Thank you very much!
Thanks for return.
For info, MCI can, also, record from microphone, save file, give infos on
sound files, play mp3, wma or mid, etc.
It's an old techno of Windows.
But... it's only on Windows.
@-salutations
--
Michel
Hi!
Impossible, for me, to use Python like ActiveScripting language, in a HTA,
since IE-8 beta-2 installed.
Run OK with IE5, IE6, IE7. But IE8 does not recognize Python (I however
recorded several times python like language of ActiveScripting)
Any idea or solution?
--
Michel Claveau
Hi!
Launch PythonWin, and use [Tools] COM Browser and COM Makepy for know
the names of COM objects properties.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python
for my primitive/simplist/bad english.
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
Use: cmd /k
Example:
cmd /k C:\myscripts\python\filename.py
But...
After, it's you, who must close the window...
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo
, Python 2.5.2
HELP!!!
And... thanks by advance for all solutions.
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi! (bis)
Found solution.
Disabling the antivirus had not enough.
But, after uninstall the antivirus (avast), the installation is performed
normally.
Note that, once avast reinstalled, the problem is not persisted.
@-salutations
--
Michel Claveau
Hi!
What is missing now?
Python PyWin32
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
) standalone client.
But, if you create another solution, I will look with very attention...
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
, no?
(http://community.appcelerator.org/index.jspa)
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
=700
ie2 = finstance('http://www.mclaveau.com/batch')
ie2.Left=610
ie2.Top=10
ie2.Width=600
ie2.Height=700
time.sleep(2)
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
Hi!
when I call the Navigate method on a IEControler a new instance of IE is
created
Not for me (Vista / XP / 2000).
Perhaps your code is special?
Perhaps a parameter on your IE?
@-salutations
--
Michel Claveau
___
python-win32 mailing list
Hi!
1) Define your print function. Example:
def mprint(*par):
for i in par:
print i,
print
2) in your code, replace all 'print' by 'mprint'
3) when you want cancel the print, modify only the mprint function.
@-salutations
--
Michel Claveau
Hi!
Look ActivePython, from Active-State.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
problem: it is not in french... and I am a very bad reader of
english)
Obhama, Bush, Sarkozy can forget their plans anti-crisis: your is better.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http
Hi!
When I try to install pywin32-212.6.win32-py2.6.exe, I had a SideBySide
error.
Below, the complete message found in the journal of applications.
Any idea, for solution ?
Thanks in advance.
--
Michel Claveau
--
Nom du journal
loading with Python 2.6.1 import
socket...)
@-tomorrow
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
)
- run all install/copy/configure under Admin, and under single user
- test with Windows-7 and XP (I have anothers virtual computers)
- etc.
Thank you for yours contributions, and have a good day.
--
Michel Claveau
___
python-win32 mailing list
python
this message.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
Hi!
win32api.GetVersionEx(1)
(6, 0, 6001, 2, 'Service Pack 1', 1, 0, 256, 1, 30)
on 2008:
(6, 0, 6001, 2, 'Service Pack 1', 1, 0, 274, 2, 30)
And, on Seven (for collectors):
print win32api.GetVersionEx(1)
(6, 1, 7000, 2, '', 0, 0, 256, 1, 0)
@-salutations
--
Michel Claveau
Python, via COM.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
with iter ;
with 'for' ; etc. All is slow.
Who know a way for fast get the collection like LIST?
Thanks in advance.
--
Michel Claveau
(*) slow: 0.7 seconds for len=1000
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org
, and zorry for my rotten english.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
1 - 100 of 139 matches
Mail list logo