|
Output
|
$+
html.Snippet("gui/snippets/input-text",
"name=SCAP_OUTPUT_FOLDER",
"manage=True",
"value=GetVar(AC_INFO_OUTPUT_DIR)",
"readonly=False",
"onchange=SetVar(AC_INFO_OUTPUT_DIR, html.GetValue(~name~))"
"onchangealways=True",
)
$-
|
Script
|
$+
html.Snippet("gui/snippets/input-combo",
"name=CAP_SCRIPTS",
"manage=False",
"value=",
"items=spy.gui.tools.get_custom_scripts_combo(CAP)",
"readonly=False",
"onchangealways=True",
"manage=True",
"onchange=spy.gui.tools.set_custom_gui(html.GetValue(AC_SCRIPT_CAP),CAP)>>html.update()",
)
$-
|
$+
html.Snippet("gui/snippets/input-button-td",
"name=RUN_SCRIPT",
"bgcolor=GetVar(gui.action_colour)",
"fgcolor=#ffffff",
"value=Run"
"height=GetVar('HtmlComboHeight')",
"width=100%",
"flat=True",
"onclick=spy.gui.tools.run_custom_script(html.GetValue(AC_SCRIPT_CAP))",
)
$-
#ignoreif -->
|