Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > yes my IDL script produces an image file, i want just execute this > progmam, and not to send an HTML image. how can i do that ? > You'll have to dig into PyWPS for the details, but I think your PyWPS script just needs to run idlde.exe as a separate process, using that comm

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
yes my IDL script produces an image file, i want just execute this progmam, and not to send an HTML image. how can i do that ? thanks for help.   --- En date de : Ven 24.4.09, Tim Roberts a écrit : De: Tim Roberts Objet: Re: [python-win32] activate an opened window through the server À: "Pyt

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > I work on a PyWPS project and I need to run an IDL program , after the > user completed a form, > if I create a program .pro with the command that launches my program, > like this > > idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash > @"C:\SAMIR\soil.run" > > how ca

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
I work on a PyWPS project and I need to run an IDL program , after the user completed a form, if I create a program .pro with the command that launches my program, like this idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash @"C:\SAMIR\soil.run" how can I run it through my server? t

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > I want, through a python script, to run a program that is written in > another language (IDL: Interactive Data Language), I tried to execute > a .bat file where I put my command which runs the program but I get > the error message: permission denied, then I thought to anothe

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
I want, through a python script, to run a program that is written in another language (IDL: Interactive Data Language), I tried to execute a .bat file where I put my command which runs the program but I get the error message: permission denied, then I thought to another method with python-win32 but

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > I try to run a program in an interface that is already opened, all > works well through the Command Prompt but when I run my python script > in the server e.g http://localhost/MyScript.py it gives me the > following message: > pywintypes.error: (0, 'EnumWindows', 'No error m

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
I try to run a program in an interface that is already opened, all works well through the Command Prompt but when I run my python script in the server e.g http://localhost/MyScript.py it gives me the following message: pywintypes.error: (0, 'EnumWindows', 'No error message is available') thanks

Re: [python-win32] activate an opened window

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > it works with findTopWindow and _windowEnumerationHandler but only > through the Command Prompt and I can not access it through my server > by launching a URL > I have no idea what that means. How is a URL involved? Perhaps you should describe exactly what you are trying

Re: [python-win32] activate an opened window

2009-04-23 Thread belaqziz salwa
it works with findTopWindow and _windowEnumerationHandler but only through the Command Prompt and I can not access it through my server by launching a URL Thanks   --- En date de : Jeu 23.4.09, Tim Roberts a écrit : De: Tim Roberts Objet: Re: [python-win32] activate an opened window À: "Pyth

Re: [python-win32] activate an opened window

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: > > how I can activate a window that is already opened, through its PID of > process > Are you saying you have the PID of a process, and you want to bring its window to the top? I don't know of any shortcut way to do that, but you could certainly enumerate through all of the

[python-win32] activate an opened window

2009-04-23 Thread belaqziz salwa
Hi, how I can activate a window that is already opened, through its PID of process thanks ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32