F4 Associated editor issue
Moderators: helmut, XnTriq, xnview
-
- Posts: 2
- Joined: Sun Feb 05, 2006 9:11 am
F4 Associated editor issue
Hello,
I wonder if i can change the "associated editor" with an other program then mspaint, so it can be opened by pressing the F4 key?
I searched the forum, and found a few threads about it, but i am still a bit confused if it can, or can not be done?
Someone wrote; it's easy, ... just GOOGLE for it, ... but i cant find what i am looking for!
For instance, where is the association made for mspaint.exe to be the default editor?
Is this done by XNview, or WindowsXP, if so, can this be changed?
Thanks in advance, hope someone can help me out here
GRTZ John
I wonder if i can change the "associated editor" with an other program then mspaint, so it can be opened by pressing the F4 key?
I searched the forum, and found a few threads about it, but i am still a bit confused if it can, or can not be done?
Someone wrote; it's easy, ... just GOOGLE for it, ... but i cant find what i am looking for!
For instance, where is the association made for mspaint.exe to be the default editor?
Is this done by XNview, or WindowsXP, if so, can this be changed?
Thanks in advance, hope someone can help me out here
GRTZ John
Re: F4 Associated editor issue
You must change it in windows explorer associations...nhojnavslig wrote:Hello,
I wonder if i can change the "associated editor" with an other program then mspaint, so it can be opened by pressing the F4 key?
I searched the forum, and found a few threads about it, but i am still a bit confused if it can, or can not be done?
Someone wrote; it's easy, ... just GOOGLE for it, ... but i cant find what i am looking for!
For instance, where is the association made for mspaint.exe to be the default editor?
Is this done by XNview, or WindowsXP, if so, can this be changed?
Thanks in advance, hope someone can help me out here
GRTZ John
Pierre.
Re: F4 Associated editor issue
Add your support here -> http://newsgroup.xnview.com/viewtopic.p ... ted+editornhojnavslig wrote:Hello,
I wonder if i can change the "associated editor" with an other program then mspaint, so it can be opened by pressing the F4 key?
I searched the forum, and found a few threads about it, but i am still a bit confused if it can, or can not be done?
Someone wrote; it's easy, ... just GOOGLE for it, ... but i cant find what i am looking for!
For instance, where is the association made for mspaint.exe to be the default editor?
Is this done by XNview, or WindowsXP, if so, can this be changed?
Thanks in advance, hope someone can help me out here
GRTZ John
Pierre, when a user presses F4 for default editor what registry key does XnView read?
Thanks.
Update:
Nevermind I just "Regmon" to check how XnView uses and was horrified beyond words (how many unknown references?)
Anyway I found the fix for adding your own default editor...
1. Open RegEdit
2. Goto HKEY_CLASSES_ROOT\XnView.jpg\shell
3. On the "shell" branch, right-click "New" -> "Key"
4. Call it "edit", click on "edit" -> right-click "New" -> "Key"
5. Call it "command" click on "command"
6. In the opposite window -> double-click on the (Default) and enter your editor path (eg. "C:\Program Files\PhotoFiltre\PhotoFiltre.exe" "%1")
Sadly, this only works for one file type at a time!
I'll try and make a REG file for the common types using PhotoFiltre.
Thanks.
Update:
Nevermind I just "Regmon" to check how XnView uses and was horrified beyond words (how many unknown references?)
Anyway I found the fix for adding your own default editor...
1. Open RegEdit
2. Goto HKEY_CLASSES_ROOT\XnView.jpg\shell
3. On the "shell" branch, right-click "New" -> "Key"
4. Call it "edit", click on "edit" -> right-click "New" -> "Key"
5. Call it "command" click on "command"
6. In the opposite window -> double-click on the (Default) and enter your editor path (eg. "C:\Program Files\PhotoFiltre\PhotoFiltre.exe" "%1")
Sadly, this only works for one file type at a time!
I'll try and make a REG file for the common types using PhotoFiltre.
Last edited by ckit on Sun Feb 05, 2006 11:22 am, edited 1 time in total.
Ok to make this easier you can "cut and paste" this into a REG file using Notepad and then replace PhotoFiltre with your own editor after that all you have to do is right-click on the file -> Merge!
-- begin cut and paste --
REGEDIT4
[HKEY_CLASSES_ROOT\XnView.bmp\shell\edit]
[HKEY_CLASSES_ROOT\XnView.bmp\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.emf\shell\edit]
[HKEY_CLASSES_ROOT\XnView.emf\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.gif\shell\edit]
[HKEY_CLASSES_ROOT\XnView.gif\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.iff\shell\edit]
[HKEY_CLASSES_ROOT\XnView.iff\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.jp2\shell\edit]
[HKEY_CLASSES_ROOT\XnView.jp2\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.jpg\shell\edit]
[HKEY_CLASSES_ROOT\XnView.jpg\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.pcx\shell\edit]
[HKEY_CLASSES_ROOT\XnView.pcx\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.pic\shell\edit]
[HKEY_CLASSES_ROOT\XnView.pic\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.png\shell\edit]
[HKEY_CLASSES_ROOT\XnView.png\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.tga\shell\edit]
[HKEY_CLASSES_ROOT\XnView.tga\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.tif\shell\edit]
[HKEY_CLASSES_ROOT\XnView.tif\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.wmf\shell\edit]
[HKEY_CLASSES_ROOT\XnView.wmf\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
-- end cut and paste --
-- begin cut and paste --
REGEDIT4
[HKEY_CLASSES_ROOT\XnView.bmp\shell\edit]
[HKEY_CLASSES_ROOT\XnView.bmp\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.emf\shell\edit]
[HKEY_CLASSES_ROOT\XnView.emf\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.gif\shell\edit]
[HKEY_CLASSES_ROOT\XnView.gif\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.iff\shell\edit]
[HKEY_CLASSES_ROOT\XnView.iff\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.jp2\shell\edit]
[HKEY_CLASSES_ROOT\XnView.jp2\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.jpg\shell\edit]
[HKEY_CLASSES_ROOT\XnView.jpg\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.pcx\shell\edit]
[HKEY_CLASSES_ROOT\XnView.pcx\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.pic\shell\edit]
[HKEY_CLASSES_ROOT\XnView.pic\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.png\shell\edit]
[HKEY_CLASSES_ROOT\XnView.png\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.tga\shell\edit]
[HKEY_CLASSES_ROOT\XnView.tga\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.tif\shell\edit]
[HKEY_CLASSES_ROOT\XnView.tif\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
[HKEY_CLASSES_ROOT\XnView.wmf\shell\edit]
[HKEY_CLASSES_ROOT\XnView.wmf\shell\edit\command]
@="\"C:\\Program Files\\PhotoFiltre\\PhotoFiltre.exe\" \"%1\""
-- end cut and paste --
XnView file association manager made by ckv (screenshot)
It's not ready to release yet.
This is not a joke
It's not ready to release yet.
This is not a joke

XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
It's on on the planning table.ckit wrote:ckv,
Does that include adding "Edit" entries into the registry as well?
BTW, Thanks!


Edit: new screenshot XnView file association manager made by ckv
Last edited by ckv on Tue Apr 18, 2006 2:53 pm, edited 1 time in total.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- Posts: 2
- Joined: Sun Feb 05, 2006 9:11 am
For what it's worth I agree and have added my support but that will take time. Until then I have the workaroundDreamer wrote:I still think this would be better and easier for normal users.
