Switching between dual and single styles

Hi guys,

I use this code to switch between Dual and Single styles.

@ifset:DUAL=On Prefs STYLE=Single @ifset:Else Prefs STYLE=Dual
Is there a command to remember the previous tabs when switching back from Single to Dual?

Regards

Blueroly

The Set DUAL command can be made to remember tabs, but this doesn't work when using styles.
As a workaround you could add commands to save the open tabs into a group when switching to single, and re-load the group when switching to dual.

[quote="jon"]The Set DUAL command can be made to remember tabs, but this doesn't work when using styles.
As a workaround you could add commands to save the open tabs into a group when switching to single, and re-load the group when switching to dual.[/quote]
Thanks Jon, I'll try that. Is it worth considering a remember argument for this command?

This works...

@ifset:DUAL=On Go TABGROUPSAVE="!both,Temp" Prefs STYLE=Single @ifset:Else Prefs STYLE=Dual Go TABGROUPLOAD=Temp
Thanks again Jon.