[python-win32] filling Windows properties "Summary" tab?
I am reading the discussion of "filling Windows properties "Summary" tab?" on 2005-06-23: http://thread.gmane.org/gmane.comp.python.windows/3164 I too am interesting in finding out a way to read and write the summary propreties. It isn't very clear for me from the thread that what classes of if there are any sample program I can use. A more basic issue is I would like to write some meta data for any kind of files (even for folders if possible). There are mention of COM "structured storage" files like MS office documents. However I am able to set this for a simple text file. On the other hand this summary is not available if I rename it to .html. Much appreciate if you can help me to understand this. Thanks, wy ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] filling Windows properties "Summary" tab?
Hi Roger, At 11:23 AM 6/28/2005, Roger Upole wrote: >On NTFS 5 (Win2k or later), you can add Summary info to any file, >and it's stored in alternate data streams. However, if you copy the >file to a filesystem that doesn't support alternate data streams, the >properties are lost. I had also found that if I create them on Win2000 and copy to XP they are lost... Ray ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] filling Windows properties "Summary" tab?
At 10:06 AM 6/24/2005, R. Alan Monroe wrote: >> They are per-file settings, but, if I filled them in for a .py file, >> they would persist only on this machine, but not if the file is >> copied to another Windows box, and are unavailable on the Samba >> server. > >Try it with an .mp3 file. I bet it will survive being copied to >another machine. They're saved in the id3 tags. Nope, I copied an mp3 to another PC in the workgroup, and it does not persist. I have found a dll for this though: http://www.microsoft.com/downloads/details.aspx?FamilyID=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&DisplayLang=en http://support.microsoft.com/default.aspx?scid=kb;en-us;224351 The Dsofile.dll sample file is an in-process ActiveX component for programmers that use Microsoft Visual Basic .NET or the Microsoft .NET Framework. You can use this in your custom applications to read and to edit the OLE document properties that are associated with Microsoft Office files, such as the following: "Microsoft Excel workbooks "Microsoft PowerPoint presentations "Microsoft Word documents "Microsoft Project projects "Microsoft Visio drawings "Other files without those Office products installed and http://blogs.msdn.com/gstemp/archive/2004/02/25/79867.aspx that has some info. Ray ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] filling Windows properties "Summary" tab?
> They are per-file settings, but, if I filled them in for a .py file, > they would persist only on this machine, but not if the file is > copied to another Windows box, and are unavailable on the Samba > server. Try it with an .mp3 file. I bet it will survive being copied to another machine. They're saved in the id3 tags. Alan ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] filling Windows properties "Summary" tab?
Hi Mark, At 04:09 PM 6/23/2005, Mark Hammond wrote: These properties generally work for COM "structured storage" files. Microsoft Office documents and a number of others use this format, and the win32com functions allow you to get and set these properties. If the files are not these COM storage files, then you may need to look at creating a shell extension, so you can add your own custom dialog page (including any properties you like) to the explorer dialog. I was just mystified about the utility of these Summary properties vs. versioninfo resources set with py2exe... They are per-file settings, but, if I filled them in for a .py file, they would persist only on this machine, but not if the file is copied to another Windows box, and are unavailable on the Samba server. Extra built-in info would be nice, but not worth more effort, to me at least. Thanks, Ray -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ray Schumacher Sent: Friday, 24 June 2005 8:14 AM To: python-win32@python.org Subject: [python-win32] filling Windows properties "Summary" tab? The Summary tab of of a file's properties has Title, Subject, Author, etc. Could those be filled in via py2exe or ? I tried them as attributes of Target; no error, but no result. Ray ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] filling Windows properties "Summary" tab?
These properties generally work for COM "structured storage" files. Microsoft Office documents and a number of others use this format, and the win32com functions allow you to get and set these properties. If the files are not these COM storage files, then you may need to look at creating a shell extension, so you can add your own custom dialog page (including any properties you like) to the explorer dialog. Mark -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ray SchumacherSent: Friday, 24 June 2005 8:14 AMTo: python-win32@python.orgSubject: [python-win32] filling Windows properties "Summary" tab?The Summary tab of of a file's properties has Title, Subject, Author, etc. Could those be filled in via py2exe or ? I tried them as attributes of Target; no error, but no result. Ray ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32
[python-win32] filling Windows properties "Summary" tab?
The Summary tab of of a file's properties has Title, Subject, Author, etc. Could those be filled in via py2exe or ? I tried them as attributes of Target; no error, but no result. Ray ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32