Re: [python-win32] Suitability of PyWin32 to manipulate windows

2008-01-15 Thread Tim Roberts
Torbjørn Kristoffersen wrote: > Hello, I'm not very familiar with Windows programming, so I would very much > like some advice here. > > My goal is to start two programs from Python in Windows. These two windows > will be maximized and cover the entire screen. > > Is Pywin32 capable of keeping trac

Re: [python-win32] need help for searching of text in a textbox for ms word

2008-01-15 Thread Tim Roberts
a_n_s_h_a_n wrote: > hi guys! i need help again. so i have this python program that is > supposed to search and replace text in ms word. i have successfully > searched and replaced all needed text but the problem is it only > replaces the normal text and not the ones found in textboxes. Tim G's

Re: [python-win32] need help for searching of text in a textbox for ms word

2008-01-15 Thread Tim Golden
a_n_s_h_a_n wrote: > ok. sorry about that but still thanks > > i'm pretty new about this com stuff. > i just started reading a couple of days ago so > i don't know yet what are vbs/vba, or macro [Copying back to the python-win32 list to keep everything public: more people to help you!] Well, t

Re: [python-win32] Check if user has windows administrator

2008-01-15 Thread Simon Dahlbacka
> > > Oh - and also how to either (a) force bdist_wininst executables to request > elevation or (b) have the .msi generation be smarter wrt upgrading so > installation is reasonable on Vista. Does anyone here have bdist_msi > experience? > For a), it should work by adding a manifest like this

Re: [python-win32] overlay icons handler freezes file dialog

2008-01-15 Thread Mark Hammond
> > The best way would be to create an example which reproduces your > > problem. > > Its likely that I would be able to simply locate the source once I > > could see it. > > Attached are two files to create the issue: The problem is that GetOpenFileName and GetSaveFileName did not release the G

Re: [python-win32] need help for searching of text in a textbox for ms word

2008-01-15 Thread Tim Golden
a_n_s_h_a_n wrote: > hi guys! i need help again. so i have this python program that is supposed to search and replace text in ms word. i have successfully searched and replaced all needed text but the problem is it only replaces the normal text and not the ones found in textboxes. i need your expe

Re: [python-win32] overlay icons handler freezes file dialog

2008-01-15 Thread TK Soh
On Jan 15, 2008 9:50 AM, TK Soh <[EMAIL PROTECTED]> wrote: > > On Jan 15, 2008 9:29 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > > > I wonder if anyone can provide some clue or pointer on how I can > > > resolve this issue. > > > > The best way would be to create an example which reproduces your p

Re: [python-win32] overlay icons handler freezes file dialog

2008-01-15 Thread TK Soh
On Jan 15, 2008 9:29 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > > I wonder if anyone can provide some clue or pointer on how I can > > resolve this issue. > > The best way would be to create an example which reproduces your problem. > Its likely that I would be able to simply locate the source o

[python-win32] need help for searching of text in a textbox for ms word

2008-01-15 Thread a_n_s_h_a_n
hi guys! i need help again. so i have this python program that is supposed to search and replace text in ms word. i have successfully searched and replaced all needed text but the problem is it only replaces the normal text and not the ones found in textboxes. i need your expert advice. thanks

Re: [python-win32] overlay icons handler freezes file dialog

2008-01-15 Thread Mark Hammond
> I wonder if anyone can provide some clue or pointer on how I can > resolve this issue. The best way would be to create an example which reproduces your problem. Its likely that I would be able to simply locate the source once I could see it. Mark ___

Re: [python-win32] HRGN, RGNDATA, RGNDATAHEADER

2008-01-15 Thread niki
Tim Roberts wrote: > GDI+ has some nifty features for turning paths into regions, but in the > end it gets down to the same HRGN structure you have now, and I don't > know if there are GDI+ wrappers for Python or not. GDI+ is C++ classes, > so it isn't a simple ctypes wrap. Not inside :) GDI+

[python-win32] overlay icons handler freezes file dialog

2008-01-15 Thread TK Soh
Greeting. I have a shell extension that provide the overlay icons on Explorer, using pythonwin bundled with ActivePython 2.5.1.1. However, when it extension is installed, it causes the win32gui.GetSaveFileNameW file dialog to freeze. During the investigation, I noticed that by returning None from