Commands when button is on & off

Hi,

Is it possible to do a button that when is pressed down (on) it runs:

Set VIEW=Thumbnails

and when is pressed again (off) it runs:

Set VIEW=Details

:question: :question: :question:

:smiley:

Use this one:

Set VIEW=Thumbnails*,Details

[quote="sweetfunny"]Use this one:

Set VIEW=Thumbnails*,Details

Great !

Thanks :smiley: