Behaviour command Prefs LAYOUTLIST

In the past I have made a button with this command: Prefs LAYOUTLIST

Today I noticed that activating this command does the same as the Prefs command without any parameter: it opens the preference window at the tab I left it last time I used it.

This is after I updated to DOpus 9.1.1.5
I use Windows Vista 32 bit

Can anyone confirm this? Is this a bug in the new version?

Thanks
Have a nice day :wink:

It still works for me, at least on xp 32bit. Can you copy and paste the button here? It should produce some xml code if you right click it and then choose copy while in customize mode.

This is the XML code:

[quote]<?xml version="1.0"?>

Voorkeuren mappen
Voorkeuren mappen
#format

Prefs LAYOUTLIST

[/quote]

I moved the command to a menu instead of a button and now it is functioning the way it should.

Sorry, I should have tried this before making this thread.

What I want to archieve is that a button command brings me to this point:
Preferences/folders/folder formats


Prefs LAYOUTLIST will turn into a list of your layouts. In other words, it will generate one button for each layout. You can have a menu of layouts by putting Prefs LAYOUTLIST within a sub-menu or you can have the layouts listed directly on a toolbar by putting the command directly on a toolbar.

It doesn't make any sense to use Prefs LAYOUTLIST as one of the three actions of a three-button, though. I presume that's what you did. (In that context Opus seems to ignore the nonsensical LAYOUTLIST argument and just run the Prefs command which opens the Preferences window to open.)

If you want to open the Preferences dialog on a particular page then you should be using a command like this:

Prefs PAGE=layouts

Or this:

Prefs PAGE=folderformats

If you use the button editor in advanced mode then you can use the Arguments menu to get a list of all the possible pages.

I did not know the Prefs PAGE command (and used the Prefs LAYOUTLIST command the way you described)
Thanks for your advice, Leo :wink:

For a couple of month now, I am reading this forum and learning more and more about this fine software every day :exclamation:

Have a nice day