Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
→Script User Interface: found some stuff!
imported>DavidJCobb (→Pascal implementation: don't know what version of JVCL, or if JVCL has versions. may update this more later) |
imported>DavidJCobb (→Script User Interface: found some stuff!) |
||
Line 310: | Line 310: | ||
TO DO: Explain user interface and provide some examples. | TO DO: Explain user interface and provide some examples. | ||
''(Ed. note: Since nobody has actually gotten around to doing the above, let me at least start us off with some functions spotted in the built-in scripts. Most of them seem to be standard and can probably be looked up on the Internet, by anyone who has the time.)'' | |||
*''AddMessage(asMessage)'' pushes a line to TES5Edit's Information tab. | |||
*''InputQuery(asWindowTitle, asWindowText, out sVariableToSet)'' displays a prompt dialog; it returns False if the user clicked Cancel or X, or True otherwise, and sets the output variable to whatever the user types if the user hits "OK." | |||
*''SelectDirectory(asPromptStringOfSomeKind, asUnknown1, asUnknown2, nil)'' returns a path as a string; used in "Assets browser.pas" | |||
*''ShellExecute'' seen in "Execute external applications.pas", used to call another program | |||
*''TButton'' used in "Assets browser.pas" | |||
*''TCheckListBox'' used in "Copy as override.pas" | |||
*''TComboBox'' used in "Assets browser.pas" | |||
*''TForm'' used in "Assets browser.pas" and "Copy as override.pas" | |||
*''TListView'' used in "Assets browser.pas" | |||
*''TMemo'' used in "Assets browser.pas" | |||
*''TMenuItem'' used in "Assets browser.pas" | |||
*''TPanel' used in "ExportImportTexts.pas" | |||
*''TPopupMenu'' used in "Assets browser.pas" | |||
*''TSaveDialog'' used in "Assets browser.pas" | |||
*''TScrollBox' used in "ExportImportTexts.pas" | |||
=== Simple Script Sample === | === Simple Script Sample === |