I've got an idea - export options to *.reg file.
There are many problems with an ini file, so using *.reg file would be good solution.
Users could save/export options very easy through menu (or even a toolbar button).
Example:
If I use registry to save options (because of speed) and I need to use my old backup options, I must to do this:
- select options > install > unmark "use registry to save options"
- exit xnview
- delete xnview.ini from xnview folder
- copy old xnview.ini to xnview folder
- run xnview
- select options > install > mark "use registry to save options"
With *.reg file, all I'd need to do is run it and select Yes.
Export options to *.reg file
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 45337
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Export options to *.reg file
Ok, perhaps a good idea for non pro users to export options in a .reg.Dreamer wrote:I've got an idea - export options to *.reg file.
There are many problems with an ini file, so using *.reg file would be good solution.
Users could save/export options very easy through menu (or even a toolbar button).
Pierre.
-
- Posts: 33
- Joined: Thu Jan 01, 2004 10:13 pm
- Location: South Carolina USA
Re: Export options to *.reg file
I've not done the registry bit, but it would be my guess, that you would find it at:Dreamer wrote:I've got an idea - export options to *.reg file.
There are many problems with an ini file, so using *.reg file would be good solution.
Users could save/export options very easy through menu (or even a toolbar button).
Example:
If I use registry to save options (because of speed) and I need to use my old backup options, I must to do this:
- select options > install > unmark "use registry to save options"
- exit xnview
- delete xnview.ini from xnview folder
- copy old xnview.ini to xnview folder
- run xnview
- select options > install > mark "use registry to save options"
With *.reg file, all I'd need to do is run it and select Yes.
HKEY_LOCAL_MACHINE\Software\Xnview
Then just open Regedit, navigate on down, then export the branch.
When you want to make changes, you can either manually edit the reg file, then merge it, or export a new one for backup. But I would first export the barnch, the examine how the entries are done, then experiment, you can always delete the key either via merge or navigate to the key and make it so.
Sincerely,
A.H. Carter
d(-_-)b
OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
A.H. Carter
d(-_-)b
OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
Re: Export options to *.reg file
Yes, but it's almost as difficult as I described above... (especially if I want to backup it often)AHCarter wrote:I've not done the registry bit, but it would be my guess, that you would find it at: HKEY_LOCAL_MACHINE\Software\XnviewDreamer wrote:I've got an idea - export options to *.reg file. ...
Then just open Regedit, navigate on down, then export the branch.
I want a toolbar button for export options, especially for most of users, who don't know anything about registry.
With this feature, 'use registry to save options' could be turned on by default, because of many problems with ini file and because it would be accesible for all users (now backup from registry is too difficult for most users)