Well, For me to actually create a interface it looks a bit like this
Dialog>dialog1
Caption=Test Menu242
Width=297
Height=255
Top=104
Left=CENTER
EndDialog>dialog1
That basically creates a menu.. a blank menu just a box untill I add programs.
a button added to it looks like this..
Dialog>dialog1
Caption=Test Menu242
Width=297
Height=255
Top=104
Left=CENTER
Button=Run Task(s),130,174,98,20,1
Button=Close Menu,130,200,98,20,2
Button=DiskDefrag,130,146,98,20,3
EndDialog>dialog1
and then I have to write the subroutine.
Label>Mainloop
if>result=2,End
if>result=3
endif
Goto>Mainloop
SRT>Start Disk Defrag
ExecuteFile>C:\WINDOWS\system32\dfrg.msc,
END>Start Disk Defrag
So alltogether
the script would look like this
Dialog>dialog1
Caption=Test Menu242
Width=297
Height=255
Top=104
Left=CENTER
Button=Run Task(s),130,174,98,20,1
Button=Close Menu,130,200,98,20,2
Button=DiskDefrag,130,146,98,20,3
EndDialog>dialog1
Show>dialog1,result
Label>Mainloop
if>result=2,End
if>result=3
endif
Goto>Mainloop
SRT>Start Disk Defrag
ExecuteFile>C:\WINDOWS\system32\dfrg.msc,
END>Start Disk Defrag
Yet again, it is its own language has its own protocol but its on a VB engine.
That is what it would look like for me to create a small menu that launchs disk defragment at a click of a button.