Hi Guys, Is there anybody can help me about the processing taskbar ? How can I locate the cursor on the icon in the taskbar and double click it with python?
There is a demo in the python example, for creating an icon in the taskbar for one task. Any idea about this is highly appreciated. Thanks. Zhengping 2010/7/27 <[email protected]> > Send python-win32 mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/python-win32 > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of python-win32 digest..." > > > Today's Topics: > > 1. Possible to update exe file properties and/or icon via the > win32api library? ([email protected]) > 2. Re: Possible to update exe file properties and/or icon via > the win32api library? (Tim Roberts) > 3. Re: Possible to update exe file properties and/or icon via > the win32api library? (Mark Hammond) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 26 Jul 2010 16:31:47 -0400 > From: [email protected] > To: "zz Python Win32 Newsgroup" <[email protected]> > Subject: [python-win32] Possible to update exe file properties and/or > icon via the win32api library? > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Is it possible to update an exe file's properties and/or icon > file via the win32api library? By exe file properties I mean the > properties typically set via a resource file when an exe file is > created. Example properties are what one would see if they right > clicked on a file in Windows Explorer and chose the Properties > dialog. > > Sample exe file properties: > - product name > - product version > - product description > - copyright > - exe icon > Use case: We have a single exe whose file properties we would > like to customize for specific customers. > > An alternative question would be is there a way to update an > exe's file properties using an external resource file? > > Or would I be better off finding a Windows utility that might > allow me to script exe resource file updates? > > Thank you, > Malcolm > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/python-win32/attachments/20100726/db0f5c27/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 26 Jul 2010 13:48:32 -0700 > From: Tim Roberts <[email protected]> > To: zz Python Win32 Newsgroup <[email protected]> > Subject: Re: [python-win32] Possible to update exe file properties > and/or icon via the win32api library? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > [email protected] wrote: > > Is it possible to update an exe file's properties and/or icon file via > > the win32api library? By exe file properties I mean the properties > > typically set via a resource file when an exe file is created. Example > > properties are what one would see if they right clicked on a file in > > Windows Explorer and chose the Properties dialog. > > > > Sample exe file properties: > > - product name > > - product version > > - product description > > - copyright > > - exe icon > > > > Use case: We have a single exe whose file properties we would like to > > customize for specific customers. > > > > An alternative question would be is there a way to update an exe's > > file properties using an external resource file? > > > > Or would I be better off finding a Windows utility that might allow me > > to script exe resource file updates? > > > > There are many Resource Editors available on the web today that can > handle replacing resources in an existing executable, although there are > no APIs for doing so. See, for example, "resource hacker". > > There are many valid uses for having multiple external resource DLLs. > That's the way internationalization is often done. You have one > resource-only DLL for each language, and the main program looks up > resources there first. But if you want to change what Windows Explorer > shows, then you have little choice other than modifying the executable > file itself. > > -- > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > > > ------------------------------ > > Message: 3 > Date: Tue, 27 Jul 2010 17:01:52 +1000 > From: Mark Hammond <[email protected]> > To: [email protected] > Cc: zz Python Win32 Newsgroup <[email protected]> > Subject: Re: [python-win32] Possible to update exe file properties > and/or icon via the win32api library? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 27/07/2010 6:31 AM, [email protected] wrote: > > Is it possible to update an exe file's properties and/or icon file via > > the win32api library? > > Kinda - although it is pretty painful to use. To get started, check out > the 'verstamp.py' utility included with pywin32 and if you want to > update the icon etc, be prepared to read the win32 docs for > BeginUpdateResource etc and alot of experimentation (although digging > into the py2exe source code might be helpful there as it updates icons > and string resources using the same basic functions - although not via > pywin32) > > Cheers, > > Mark > > > ------------------------------ > > _______________________________________________ > python-win32 mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-win32 > > > End of python-win32 Digest, Vol 88, Issue 12 > ******************************************** >
_______________________________________________ python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
