Problem with "Prefs Stylesave"

When i use the command PREFS STYLESAVE, choosing a name from the list, i get an error message "style exists already".
I suppose, there rather should be an "overwrite? y/n" dialog, so it would be also possible to save it over an existing style.

Btw, is there a raw command to just update the current style?

Confirmed.

FWIW it will overwrite existing styles if you specify the name in the command:

Prefs STYLESAVE test

So if you don't mind typing the name, this will work for now:

Prefs STYLESAVE "{dlgstring|Enter style name to save}"

We should be able to make Prefs STYLESAVE ask if you want to overwrite the style, though.

[quote="leo"]So if you don't mind typing the name, this will work for now:
Prefs STYLESAVE "{dlgstring|Enter style name to save}"[/quote]

Yes, that's no problem, thanks. I will change the command.

[quote="leo"]Confirmed.

FWIW it will overwrite existing styles if you specify the name in the command:

Prefs STYLESAVE test

So if you don't mind typing the name, this will work for now:

Prefs STYLESAVE "{dlgstring|Enter style name to save}"

We should be able to make Prefs STYLESAVE ask if you want to overwrite the style, though.[/quote]

On 12.2.2. using Prefs STYLESAVE brings up a dialog with a dropdown listing the styles. However, the user still can't save over an existing style this way.

Using the dlgstring method does save over the existing style.

Will the Prefs STYLESAVE with the dropdown allow to save over existing styles anytime soon?

In addition, is there a way in the interim to ask for confirmation prior to saving over an existing style using the dlgstring method?

In the next update this will give you the option of overwriting the existing style.

12.2.4 (beta) with the change Jon mentioned is now available.