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 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
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
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 some
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 developing
Tim Golden wrote:
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?
I'm on the east coast of the US, not far from Ocean City, MD.
Regarding the redundant IID_IDispatch you asked about, I'm not
even sure
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 works for some time,
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).
Thank you
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'
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
functions
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-424FCE4F4660}'
I have found many references to accessing a registry remotely; however, none
that work for me. Admittedly, I am a bit green on understanding Windows
security permissions and the like. I have tried a number of solutions (i.e.,
wmi, win32api, _winreg), but to no avail. I am trying to update
Quick answer because I don't have time for a slow
one right now :). Do something like this:
code
import wmi
reg = wmi.WMI (
other-box,
user=tim, password=secret,
namespace=root/default
).StdRegProv
/code
TJG
___
python-win32 mailing list
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 key
14 matches
Mail list logo