One key, two commands

Hello!

I'm working in the key-editor right now, making some nice shortcuts.

I would like to have CTRL+Q make two things for me.

1.Switch to thumbnail view mode.

Set VIEW=Thumbnails

2.Change thumnail size to largest

Show THUMBNAILSIZE=256

Since there is only "one line" to type the function, I need to write both commands on that line. But can't get it to work.

I tried it like this:
Set VIEW=Thumbnails && Show THUMBNAILSIZE=256

doesn't work.
any help is highly appreciated.

Try this code:

<?xml version="1.0"?> <button backcol="none" display="both" textcol="none"> <label>Thumbnails 256</label> <icon1>#thumbnailsize</icon1> <function type="normal"> <instruction>Set VIEW=Thumbnails</instruction> <instruction>Show THUMBNAILSIZE=256</instruction> </function> </button>

Click the Avancerat (Advanced) button, and then you can enter more than one command line.

Thank you very much!