首页 插件专区 Max插件 显示 pieMenu_Macro 饼菜单宏MS源码
pieMenu_Macro 饼菜单宏MS源码
查看 12 下载 0 收藏 纠错
  • 应用平台: Windows 7 , Windows 8 , Windows 10 , Windows 11
  • 软件支持: 32位/64位
  • 界面语言: 英语


--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")

    )


)


发表评论
  • 顺带评个分
提交
  • 834544123 在线客服

  • 周一至周五:9:00-21:00

    周末及节日:9:00-18:00

  • QQ&微信:
    834544123
    QQ群:
    16538234