Re: Euphoria Version 4.0

new topic     » goto parent     » topic index » view thread      » older message » newer message

There is yet another way. Here is a .reg file from Edita:

REGEDIT4 
 
[HKEY_CLASSES_ROOT\.e] 
@="Eu DOS include" 
[HKEY_CLASSES_ROOT\EU DOS include\DefaultIcon] 
@="E:\\Euphoria\\BIN\\Ex.exe,1" 
[HKEY_CLASSES_ROOT\EU DOS include\shell\open\command] 
@="E:\\Euphoria\\bin\\exw.exe D:\\Edita\\Edita.exw \"%1\"" 
 
[HKEY_CLASSES_ROOT\.ex] 
@="Eu DOS program" 
[HKEY_CLASSES_ROOT\EU DOS program\DefaultIcon] 
@="E:\\Euphoria\\BIN\\Ex.exe,1" 
[HKEY_CLASSES_ROOT\EU DOS program\shell\open\command] 
@="E:\\Euphoria\\bin\\ex.exe \"%1\"" 
[HKEY_CLASSES_ROOT\EU DOS program\shell\edit\command] 
@="E:\\Euphoria\\bin\\exw.exe D:\\Edita\\Edita.exw \"%1\"" 
 
[HKEY_CLASSES_ROOT\.ew] 
@="Eu Win include" 
[HKEY_CLASSES_ROOT\EU Win include\DefaultIcon] 
@="E:\\Euphoria\\BIN\\Exw.exe,1" 
[HKEY_CLASSES_ROOT\EU Win include\shell\open\command] 
@="E:\\Euphoria\\bin\\exw.exe D:\\Edita\\Edita.exw \"%1\"" 
 
[HKEY_CLASSES_ROOT\.exw] 
@="Eu Win program" 
[HKEY_CLASSES_ROOT\EU Win program\DefaultIcon] 
@="E:\\Euphoria\\BIN\\Exw.exe,1" 
[HKEY_CLASSES_ROOT\EU Win program\shell\open\command] 
@="E:\\Euphoria\\bin\\exw.exe \"%1\"" 
[HKEY_CLASSES_ROOT\EU Win program\shell\edit\command] 
@="E:\\Euphoria\\bin\\exw.exe D:\\Edita\\Edita.exw \"%1\"" 
and here is another, less scary, one I found lying around:
REGEDIT4 
 
[HKEY_CLASSES_ROOT\.exw] 
@="EuWinApp" 
 
[HKEY_CLASSES_ROOT\EuWinApp] 
@="Euphoria Windows App" 
 
[HKEY_CLASSES_ROOT\EuWinApp\DefaultIcon] 
@="C:\\Programs\\Euphoria\\Bin\\exw.exe,0" 
 
[HKEY_CLASSES_ROOT\EuWinApp\shell\open\command] 
@="\"C:\\Programs\\Euphoria\\Bin\\exw.exe\" \"%1\"" 
It would not be difficult to create say Eu3.reg and Eu4.reg versions of these which would allow you to right-click on them and select Merge to alter Windows behaviour, nor would it be difficult to knock up a simple gui front-end to double check everything, make backups of existing keys if required, and display a couple of buttons you can click. With a bit of luck, all the icons would change so you would always know exactly where you are at.

Be warned that I haven't actually tried this, and you may need a 4.0 .cfg file to get the includes right, but I'm convinced it could be made to work, and quite slickly too.

Regards, Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu