.rev file association issues
Monte Goulding
monte at sweattechnologies.com
Sat Jul 26 18:58:01 EDT 2003
OOPS
> Howdy
>
> Try this:
>
> on mouseUp
> answer file "Choose Rev"
> if the result is "cancel" then exit mouseUp
> put replaceText(theF,"/","\") into theF
<bugfix>
put replaceText(it,"/","\") into theF
</bugfix>
> put theF,1 into dIcon
> put theF & " %1" into sCom
> get setRegistry("HKEY_CLASSES_ROOT\.rev\", "Revolution")
> get setRegistry("HKEY_CLASSES_ROOT\Revolution\", "Revolution Stack")
> get setRegistry("HKEY_CLASSES_ROOT\Revolution\DefaultIcon\", dIcon)
> get
> setRegistry("HKEY_CLASSES_ROOT\Revolution\shell\open\command\", sCom)
> end mouseUp
>
> Cheers
>
> Monte
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list