Workspace Profiles

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Profiler

Workspace Profiles

Post by Profiler »

Hi,

I would like to know, if one can define different profiles for the workspace and then switch between them.

For instance on the one hand I have some pictures, which I browse in the thumbnail-view with very large own defined thumbnail size.
On the other hand I have a very large amount of little pictures which I browse with a small thumbnail size with an other window layout.

So I would like to switch between these "profiles" like between the "View As"-profiles. One can include other preferences into the profiles, like layout, buttons etc.

Thanks!
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

A workaround…

Post by Clo »

:) Hello !

• AFAIK, there is no built-in feature like this.

- I get that issue alright, since I had the same with my HTML editor.

- I found a workaround that could be applied to XnView whether you use the INI file to save the settings, and place it in the folder of the programme.
- Roughly:

- Configure XnView with the profile "A", copy the INI in a sub-folder you created so-named i.e. <Profile_A>
- Close¦restart XnView.
- Then, change the configuration to profile "B". Similarly, copy the INI in a <Profile_B> sub-folder, and so on for more profiles.
- Write a small batch-file per profile, for example below B_profile.bat :

Code: Select all

@ echo off
del [path]\XnView\xnview.ini
copy [path]\XnView\profile_b\xnview.ini [path]\XnView
exit
- Indeed, adapt for each profile in each *.bat file.
• You must run the batch file from a command-line while XnView is closed.
Hoping this helps,

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Workspace Profiles

Post by marsh »

Profiler wrote:Hi,

I would like to know, if one can define different profiles for the workspace and then switch between them.
You can use command line switch in shortcut to start with different ini.
Example:
C:\xnview\xnview.exe -ini 2xnview.ini
See also menu>about>command line help...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Enhanced

Post by Clo »

—> marsh

:) Hello B.!

• Using batch-files allows to enhance the changes, for instance change the <bookmark.ini> too, where it's located (badly, I requested to get it in the folder of the programme for each installed version…).
- So, you can get different Favourites also…
- I just showed the simplest case; no need to type on the command line.
Just click the appropriate *.bat file.
- I use this for years, it's really fast and handy…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Profiler

Post by Profiler »

Hi,

thank you for your suggestions! I will check out both solutions :)
I am also looking forward to the implementing of this feature, so that one can use it without restarting XnView.
Post Reply