11-11-2007, 12:41 AM
You mean do it all without a trigger?
Function ( Help_Dialog )
\Dialog_Editor
str dd=
;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 126 108 "My Help Dialog"
;1 Button 0x54030001 0x4 8 90 48 14 "Open1"
;2 Button 0x54030000 0x4 72 90 48 14 "CLOSE"
;3 Button 0x54032009 0x0 4 54 48 13 "Open2"
;4 Button 0x54002009 0x0 76 54 48 13 "CLOSE"
;5 Button 0x54002009 0x0 4 70 48 13 "Open3"
;6 Button 0x54002009 0x0 76 70 48 13 "CLOSE"
;7 Edit 0x54030080 0x200 14 12 96 14 "Open4"
;8 Button 0x54032000 0x0 36 28 48 14 "CLOSE"
;9 Static 0x54000000 0x0 4 2 70 10 "Open5"
;10 Button 0x54020007 0x0 2 44 124 42 "CLOSE"
;END DIALOG
;DIALOG EDITOR: "" 0x202000B "" ""
str controls = "3 4 5 6 7"
str o3NL o4Oma o5 o6PL e7
o3NL=1
if(!ShowDialog(dd 0 &controls 0 2)) ret
if(o3NL=1)
,out "5 times"
if(o4Oma=1)
,out "21 times"
if(o5=1)
,out "15 times"
if(o6PL=1)
,out "12 times"
out e7;;this is not necessary
Taking on Quick Macros one day at a time
