Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
→Script User Interface
imported>DavidJCobb (→Pascal implementation: out parameters look broken) |
imported>Hishutup |
||
Line 333: | Line 333: | ||
*''AddMessage(asMessage)'' pushes a line to TES5Edit's Information tab. | *''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." | *''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, | *''SelectDirectory(asPromptStringOfSomeKind, asInitialDirectory, asRootDirectory, nil)'' returns a path as a string; used in "Assets browser.pas" | ||
*''ShellExecute'' seen in "Execute external applications.pas", used to call another program | *''ShellExecute'' seen in "Execute external applications.pas", used to call another program | ||
*''TCheckListBox'' used in "Copy as override.pas" | *''TCheckListBox'' used in "Copy as override.pas" |