Scripting every function

Hi.
Been playing with autohotkey and am wondering if it would be easier to do a certain task within DOpus instead.

Is it possible to create a button that will run an internal script such as:

Open path X in left lister
Open path Y in right lister
Make right lister flatview
filter results by *Z

Here's an example:

Go PATH="C:\" OPENINLEFT Go PATH="D:\Temp\7zip" OPENINRIGHT Set SOURCE=Right Set SHOWFILTERFILENAME="*Z" Set FLATVIEW=On,Mixed

Sir.
This is good stuff.
I was afraid someone was going to throw some Visual Basic at me.
Can't wait to get to work and try it.
Thx

HA! Duly noted... no more VBScript for you - LOL!

I loved the fully working VBScript sir, but if anyone leaves any part out for me to fill in the blanks, I'm lost!