Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
Radu Ciora wrote: > thanks for the reply Tim but that's how I got the sample from internet. > Anyway I changed the code like this: > ... > win32gui.EnumChildWindows(l_hwnd, > self.windowEnumerationHandler(l_hwnd,l_childlist), l_childlist) That's not what I wrote at all. You need to pass the funct

Re: [python-win32] Q: error when using win32print via apache: "nullcontext handle"

2007-08-20 Thread Mark Hammond
> This falls under the "myopic-leading-the-blind" department. ;-) I'm > helping > a friend who wants to have his web site send something directly to his > printer when a web form is submitted. We're working with Windoze XP, > Apache2, and Python 2.4. > > He has two printers, one directly connected

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
thanks for the reply Tim but that's how I got the sample from internet. Anyway I changed the code like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(l_hwnd,l_childlist), l_childlist) ... def windowEnumerationHandler(self, hwnd, resultList): ... but now I get the

Re: [python-win32] EnumChildWindows

2007-08-20 Thread Tim Roberts
Radu Ciora wrote: > Hi everyone, > can anyone give me an example of use of win32gui.EnumChildWindows() > function > as I can't seem to make it work: > > my code looks like this: > ... > win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), > l_childlist) That can't be your code. Tha

Re: [python-win32] Newbee question

2007-08-20 Thread Jim . Vickroy
- Original Message - From: RANDALL HOWELL <[EMAIL PROTECTED]> Date: Monday, August 20, 2007 1:53 pm Subject: [python-win32] Newbee question > I am trying to figure out how to code my stop pay. I > get paid 40 cents a stop for the first 22 stops, and > $1.40 for stops after that. > stops

[python-win32] Q: error when using win32print via apache: "null context handle"

2007-08-20 Thread Kevin Cole
Hi, This falls under the "myopic-leading-the-blind" department. ;-) I'm helping a friend who wants to have his web site send something directly to his printer when a web form is submitted. We're working with Windoze XP, Apache2, and Python 2.4. He has two printers, one directly connected and anot

Re: [python-win32] Newbee question

2007-08-20 Thread Roel Schroeven
RANDALL HOWELL schreef: > I am trying to figure out how to code my stop pay. I > get paid 40 cents a stop for the first 22 stops, and > $1.40 for stops after that. > stops = 24 > if stops < 22: > stopPay = stops * .4 > else: > stopPay = stops * 1.4 > print stopPay 33.6 > well thats n

Re: [python-win32] automating Adobe Indesign

2007-08-20 Thread jelle
Hi Larry, Thanks a lot, the combrowser is a terrific suggestion, cheers! -jelle ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] EnumChildWindows

2007-08-20 Thread Radu Ciora
Hi everyone, can anyone give me an example of use of win32gui.EnumChildWindows() function as I can't seem to make it work: my code looks like this: ... win32gui.EnumChildWindows(l_hwnd, self.windowEnumerationHandler(), l_childlist) ... def windowEnumerationHandler(hwnd, resultList): #Pass

Re: [python-win32] Newbee question

2007-08-20 Thread Michael March
This is a python-win32 specific question? On 8/20/07, RANDALL HOWELL <[EMAIL PROTECTED]> wrote: > > I am trying to figure out how to code my stop pay. I > get paid 40 cents a stop for the first 22 stops, and > $1.40 for stops after that. > stops = 24 > if stops < 22: > stopPay = stops * .4 > e

Re: [python-win32] Newbee question

2007-08-20 Thread Tim Roberts
RANDALL HOWELL wrote: > I am trying to figure out how to code my stop pay. I > get paid 40 cents a stop for the first 22 stops, and > $1.40 for stops after that. > stops = 24 > if stops < 22: > stopPay = stops * .4 > else: > stopPay = stops * 1.4 > print stopPay > 33.6

[python-win32] Newbee question

2007-08-20 Thread RANDALL HOWELL
I am trying to figure out how to code my stop pay. I get paid 40 cents a stop for the first 22 stops, and $1.40 for stops after that. stops = 24 if stops < 22: stopPay = stops * .4 else: stopPay = stops * 1.4 print stopPay >>> 33.6 well thats not how I get paid, I get paid $8.80 for the f

Re: [python-win32] automating Adobe Indesign

2007-08-20 Thread Larry Bates
jelle wrote: > Hi, > > I'm working on scripting Indesign, a dtp app from Adobe. > Thing is that I'm able to dispatch the application via > win32com.client.Dispatch('Indesign.Application') > which works just fine, but the thing is that I have no idea which methods are > available: > > In [8]: ind

[python-win32] automating Adobe Indesign

2007-08-20 Thread jelle
Hi, I'm working on scripting Indesign, a dtp app from Adobe. Thing is that I'm able to dispatch the application via win32com.client.Dispatch('Indesign.Application') which works just fine, but the thing is that I have no idea which methods are available: In [8]: ind = win32com.client.Dispatch('In

Re: [python-win32] Array and CATIA

2007-08-20 Thread jelle
Hi Andread, I think Thomas Paviot managed to deal with this issue. He developed a plugin for catia which is open source. If you download this, it might be of help for you dealing with this issue. Cheers, -jelle ___ python-win32 mailing list python-win