Current location - Recipe Complete Network - Complete cookbook - Easy language shutter menu has multiple menus and items, how to open files (that is, a list of files appears after an item). Seek the source code, I am a rookie.
Easy language shutter menu has multiple menus and items, how to open files (that is, a list of files appears after an item). Seek the source code, I am a rookie.
It's too simple. Why do you ask? The following is just an example, please change the file path yourself (open the file after a little engineering):

Version 2

. Select subroutine _ shutter menu 1_ item.

Parameter menu index, integer type

Parameter item index, integer type

. Judgement start (menu index = 0)

. Judgment Start (Item Index = 0)

Run ("start file path", false,)

. Judgment (project index = 1)

Run ("start file path", false,)

. Judgment (project index = 2)

Run ("start file path", false,)

. Judgment (project index = 3)

Run ("start file path", false,)

. default

The trial is over

. Judgment (menu index = 1)

. Judgment Start (Item Index = 0)

Run ("start file path", false,)

. Judgment (project index = 1)

Run ("start file path", false,)

. Judgment (project index = 2)

Run ("start file path", false,)

. Judgment (project index = 3)

Run ("start file path", false,)

. default

The trial is over

. Judgment (menu index = 2)

. Judgment Start (Item Index = 0)

Run ("start file path", false,)

. Judgment (project index = 1)

Run ("start file path", false,)

. Judgment (project index = 2)

Run ("start file path", false,)

. Judgment (project index = 3)

Run ("start file path", false,)

. default

The trial is over

. default