MenusThis lesson will explore some possibilities for the menu numbers that appear when a Script Editor form is open.The menu digits can be a convenient way to access frequently used studies, draw tools, color bars, or times buttons that are available on drop down panels when a chart is displayed. For our purposes, lets assign the menu digits to accomplish the same tasks that otherwise would have to be selected from a drop down panel. Each of the menu digits will assign the Who value with its number and execute the ESPL engine.
begin Notes: Copy and paste the sample script to the Script Editor. Display a chart and then click on the menu digits 5 though 9 and watch the effect. We relabel the menu so future use will be easier to remember the purpose of the menu item. |