Call a different program with current file
Posted: Sat Jan 05, 2008 8:32 pm
Hello,
is there a simple way to do this? What I want to do is to open the currently selected file in the browser with my editor of choice. I found the way to add it to the context menu (Open with...my program). But I find this cumbersome, and would like to have a more direct access.
As I did not find any info in the online help how to achieve this, I used a quick workaround. The windows editor when hitting F4 is MS Paint. I never use this program anyway, so I changed Windows registry so that the 'Associated Editor' called from within XnView is now my preferred program.
HK_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command
"%systemroot%\system32\mspaint.exe" "%1"
replaced by
"C:\Programme\JPG-Illuminator\jpgIlluminator.exe" "%1"
Easily to restore, though. Was that clever or did I overlook a much simpler way to do it?
is there a simple way to do this? What I want to do is to open the currently selected file in the browser with my editor of choice. I found the way to add it to the context menu (Open with...my program). But I find this cumbersome, and would like to have a more direct access.
As I did not find any info in the online help how to achieve this, I used a quick workaround. The windows editor when hitting F4 is MS Paint. I never use this program anyway, so I changed Windows registry so that the 'Associated Editor' called from within XnView is now my preferred program.
HK_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command
"%systemroot%\system32\mspaint.exe" "%1"
replaced by
"C:\Programme\JPG-Illuminator\jpgIlluminator.exe" "%1"
Easily to restore, though. Was that clever or did I overlook a much simpler way to do it?