Hi Andrea,
I have made a python script which allows me to assign overlay icons to some
particular files.
The method I use is according to the discussion that you rise up as below:
http://mail.python.org/pipermail/python-win32/2008-April/007313.html
It works perfect! But when I copy this sc
Hi Tim,
On Thu, Apr 17, 2008 at 11:57 AM, Tim Golden wrote:
> Andrea Gavana wrote:
> > Just an update: I have managed to make it running both as a Python
> > script and as a standalone executable/dll. It's working fine and it's
> > not slowing down our network connections: everything seems as fast
Andrea Gavana wrote:
> Just an update: I have managed to make it running both as a Python
> script and as a standalone executable/dll. It's working fine and it's
> not slowing down our network connections: everything seems as fast as
> before. A big thank you to Roger and Tim for their kind help!
Hi All,
On Wed, Apr 16, 2008 at 10:21 PM, Jürgen Kareta wrote:
> Tim Golden schrieb:
>
> > [EMAIL PROTECTED] wrote:
> >
> >> Hi Andrea,
> >>
> >> the code in my first link was from the mercurial extension TortoiseHG. They
> >> found some issues that the icon overlay slows down network devices. See
Tim Golden schrieb:
> [EMAIL PROTECTED] wrote:
>
>> Hi Andrea,
>>
>> the code in my first link was from the mercurial extension TortoiseHG. They
>> found some issues that the icon overlay slows down network devices. See here:
>>
>> https://sourceforge.net/tracker/index.php?func=detail&aid=189279
Andrea Gavana wrote:
> ...If I run it from a Python
> script, the icon overlay works fine but every time I open a file
> dialog from one of my applications I get this nice error in the
> app.exe.log file created by py2exe:
>
> pythoncom error: PythonCOM Server - The 'win32com.server.policy'
> modu
[EMAIL PROTECTED] wrote:
> Hi Andrea,
>
> the code in my first link was from the mercurial extension TortoiseHG. They
> found some issues that the icon overlay slows down network devices. See here:
>
> https://sourceforge.net/tracker/index.php?func=detail&aid=1892791&group_id=199155&atid=968354
>
Hi Jurgen & All,
On Wed, Apr 16, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote:
> the code in my first link was from the mercurial extension TortoiseHG. They
> found some issues that the icon overlay slows down network devices. See here:
>
> https://sourceforge.net/tracker/index.php?func=detail&aid
[Tim Golden]
>> Not that it matters too much, but if you're using a registry entry
>> anyway, why not simply list the files in the registry instead
>> of the double-indirection of having the registry reference a
>> file which holds the other files !?
[Andrea Gavana]
> I initially thought to do tha
Hi Andrea,
the code in my first link was from the mercurial extension TortoiseHG. They
found some issues that the icon overlay slows down network devices. See here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1892791&group_id=199155&atid=968354
Could you please tell if you have th
Hi Tim & All,
On Tue, Apr 15, 2008 at 6:44 PM, Tim Golden wrote:
> Andrea Gavana wrote:
> > Thank you a lot, now everything is perfectly clear. I made this class
> > communicate with the registry where I store a file name (in which I
> > have all my files for which I want the overlay icon), and it
Andrea Gavana wrote:
> Thank you a lot, now everything is perfectly clear. I made this class
> communicate with the registry where I store a file name (in which I
> have all my files for which I want the overlay icon), and it works
> like a charm, with IsMemberOf checking this particular registry k
Hi Tim & All,
On Tue, Apr 15, 2008 at 3:20 PM, Tim Golden wrote:
>
> Andrea Gavana wrote:
> > Yes, thank you, it helps a lot... although I still have some doubts.
> > These are my modifications of the class Roger posted:
> >
> > class SIOI(object):
> > _reg_clsid_='{02844251-42C2-44CA-B43D-424
Tim Golden wrote:
> Andrea Gavana wrote:
>> def GetOverlayInfo(self):
>> return (r'icons/KSVROverlay.ico', 0, shellcon.ISIOI_ICONFILE)
By the way, I'm not how the callback mechanism will cope with relative
paths like this. Not very well, I guess. Bear in mind also that the shell
functi
Andrea Gavana wrote:
> Yes, thank you, it helps a lot... although I still have some doubts.
> These are my modifications of the class Roger posted:
>
> class SIOI(object):
> _reg_clsid_='{02844251-42C2-44CA-B43D-424FCE4F4660}'
> _reg_progid_='K-SVR.IShellIconOverlayIdentifier'
> _reg_d
Hi All,
On Tue, Apr 15, 2008 at 2:44 PM, Andrea Gavana wrote:
> Hi Tim, Roger & All,
>
>
> On Tue, Apr 15, 2008 at 10:03 AM, Tim Golden wrote:
> > Andrea Gavana wrote:
> > > Hi Roger,
> > >
> > > On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wrote:
> > >> I've been meaning to look at how this work
Hi Tim, Roger & All,
On Tue, Apr 15, 2008 at 10:03 AM, Tim Golden wrote:
> Andrea Gavana wrote:
> > Hi Roger,
> >
> > On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wrote:
> >> I've been meaning to look at how this works for some time,
> >> so I took a few minutes to cook up an example (attached).
Roger Upole wrote:
> Sometimes I think I'm in an entirely different universe ;).
Hehe. If you don't mind my asking, where are you based?
> Also, you'll probably need to log off and log back on for changes to
> the class to take effect.
This is probably the biggest pain when it comes to developin
Andrea Gavana wrote:
> Hi Roger,
>
> On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wrote:
>> I've been meaning to look at how this works for some time,
>> so I took a few minutes to cook up an example (attached).
>
> Thank you very much for the sample! It is really enlighting. I have
> however so
Roger Upole wrote:
> class SIOI:
[...]
> _com_interfaces_=[shell.IID_IShellIconOverlayIdentifier,
> pythoncom.IID_IDispatch]
Was the IDispatch a hangover from a cut-and-paste? I can't
see why it would be there otherwise. Or have I missed sthg?
TJG
Hi Roger,
On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wrote:
> I've been meaning to look at how this works for some time,
> so I took a few minutes to cook up an example (attached).
Thank you very much for the sample! It is really enlighting. I have
however some difficulty to understand it (sor
Roger Upole wrote:
> I've been meaning to look at how this works for some time,
> so I took a few minutes to cook up an example (attached).
(Thanks. I didn't really have enough time to put this together
at the moment!)
> def GetPriority(self):
> return 50
I was wondering how all the
Hi Tim,
On Mon, Apr 14, 2008 at 5:07 PM, Tim Golden wrote:
> Andrea Gavana wrote:
> > 1) I have looked the implementation mentioned in the link above, but
> > it is a bit unclear to me: how do I actually *use* this class? All my
> > users have the extension "*.DATA" associated with the Wordpad or
Andrea Gavana wrote:
> 1) I have looked the implementation mentioned in the link above, but
> it is a bit unclear to me: how do I actually *use* this class? All my
> users have the extension "*.DATA" associated with the Wordpad or
> Notepad or similar icons, as they use these editors to open these
24 matches
Mail list logo