well I'm supposing AltME is written in the 
rebol sdk version so it's probably using 
IShellLink, however the following hack might 
also be a solution, this should work on 
windows 98 on up:


cShortcut: {[InternetShortcut]
URL=file:///c:\
Modified=9088F98B4E9EC3014C}

write %test.url cShortcut


by the way this can be used with that nifty 
asynchronous pluggable protocol thingee to 
write clickable scripts all over (just 
saying.) :)

I'm not sure what the modified value is for 
in the url format so I just copied from 
something on my system. you might want to 
find out what it means. 

> 
> Well the thing is.... AltME (for example) 
does this in REBOL so it is 
> possible in a way that it runs on all 
platforms.
> 
> Sigh.
> 
> --Maarten
> 
> Gregg Irwin wrote:
> 
> > Hi Bryan,
> > 
> > b> since this is all done through the 
registry you should be able to handle
> > b> it from rebol/view pro and higher I 
think  (isn't there a registry
> > b> dialect out there somewhere?)
> > 
> > Yeah, the problem is that anytime MS 
provides an interface, like
> > IShellLink, for doing this kind of thing 
and you circumvent it by
> > going directly to the registry, you can 
end up making a lot more work
> > for yourself. e.g. sometimes different 
Windows versions do things
> > differently, so you need to find out 
what version you're on etc. I'm
> > not sure in this case though.
> > 
> > -- Gregg                         
> > 
> 
> 
> -- 
> To unsubscribe from this list, just send 
an email to
> [EMAIL PROTECTED] with unsubscribe 
as the subject.
> 
> 





-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to