--MAIN MENU
macroscript Menu1
category:"pieMenu"
(
pieMenu_Settings.labels = #("Menu1_submenu1", "Menu1_submenu2", "Menu1_submenu3", "Menu1_submenu4", "Menu1_submenu5", "Menu1_submenu6", "Menu1_submenu7", "Menu1_submenu8")
case pieMenu_Settings.run() of
(
1:(macros.run "pieMenu" "Menu1_submenu1")
2:(macros.run "pieMenu" "Menu1_submenu2")
3:(macros.run "pieMenu" "Menu1_submenu3")
4:(macros.run "pieMenu" "Menu1_submenu4")
5:(macros.run "pieMenu" "Menu1_submenu5")
6:(macros.run "pieMenu" "Menu1_submenu6")
7:(macros.run "pieMenu" "Menu1_submenu7")
8:(macros.run "pieMenu" "Menu1_submenu8")
#aborted:(print "aborted")
)
)
-- SUB MENUS
macroscript Menu1_submenu1
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu2
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu3
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu4
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu5
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu6
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu7
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)
macroscript Menu1_submenu8
category:"pieMenu"
(
pieMenu_Settings.labels = #("top", "top_right", "right", "bottom_right", "bottom", "bottom_left", "left", "top_left")
pieMenu_Settings.threshold = 120
case pieMenu_Settings.run() of
(
1:(print "Ran top")
2:(print "Ran top_right")
3:(print "Ran right")
4:(print "Ran bottom_right")
5:(print "Ran bottom")
6:(print "Ran bottom_left")
7:(print "Ran left")
8:(print "Ran top_left")
#aborted:(print "aborted")
)
)