| 1 | #cxx . . $ `<file>/sys/praat_script.h`/ifndef _praat_script_h_ |
| 2 | #define _praat_script_h_cxx . . $ `sys/praat_script.h:2:9`! |
| 3 | /* praat_script.h |
| 4 | * |
| 5 | * Copyright (C) 1992-2005,2007,2009-2016,2018,2021-2026 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 3 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "Interpreter.h"cxx . . $ `<file>/sys/Interpreter.h`/ |
| 22 | |
| 23 | bool praat_executeCommandcxx . . $ praat_executeCommand(fa53797037260a84). (Interpretercxx . . $ Interpreter# me, char32cxx . . $ char32# *command); // returns false only if nocheck cancelled an error |
| 24 | void praat_executeCommandFromStandardInputcxx . . $ praat_executeCommandFromStandardInput(ff00d524ab0355ec). (conststring32cxx . . $ conststring32# programName); |
| 25 | void praat_executeScript_noGUIcxx . . $ praat_executeScript_noGUI(36849bf2e291e39f). (MelderFilecxx . . $ MelderFile# file, bool fullTrust); |
| 26 | void praat_runScriptcxx . . $ praat_runScript(3d0e5aa21c8672cd). (InterpreterStackcxx . . $ InterpreterStack# interpreterStack, conststring32cxx . . $ conststring32# fileName, integercxx . . $ integer# narg, Stackelcxx . . $ Stackel# args, Editorcxx . . $ Editor# optionalInterpreterOwningEditor); // called only from Formula as `runScript` (last checked 2022-10-07) |
| 27 | void praat_runScriptWithFormcxx . . $ praat_runScriptWithForm(7004b68cc6c23ea2). (conststring32cxx . . $ conststring32# fileName, bool fullTrust); |
| 28 | void praat_runNotebookcxx . . $ praat_runNotebook(3d0e5aa21c8672cd). (InterpreterStackcxx . . $ InterpreterStack# interpreterStack, conststring32cxx . . $ conststring32# fileName, integercxx . . $ integer# narg, Stackelcxx . . $ Stackel# args, Editorcxx . . $ Editor# optionalInterpreterOwningEditor); |
| 29 | void praat_executeScriptFromCommandLinecxx . . $ praat_executeScriptFromCommandLine(f3d464eb7bbd4ab6). (conststring32cxx . . $ conststring32# fileName, integercxx . . $ integer# argc, char **argv, bool fullTrust); // called only from `praat_run` (last checked 2022-10-07) |
| 30 | void praat_executeScriptFromTextcxx . . $ praat_executeScriptFromText(ff00d524ab0355ec). (conststring32cxx . . $ conststring32# text); |
| 31 | extern "C" void praatlib_executeScript (const char *text8); |
| 32 | void DO_RunTheScriptFromAnyAddedMenuCommandcxx . . $ DO_RunTheScriptFromAnyAddedMenuCommand(744a0abd3c8513c). (UiFormcxx . . $ UiForm# sendingForm_dummy, integercxx . . $ integer# narg, Stackelcxx . . $ Stackel# args, conststring32cxx . . $ conststring32# scriptPath, |
| 33 | Interpretercxx . . $ Interpreter# /* interpreter */, conststring32cxx . . $ conststring32# invokingButtonTitle, bool modified, void *dummy, Editorcxx . . $ Editor# optionalInterpreterOwningEditor); |
| 34 | void praat_executeScriptFromEditorCommandcxx . . $ praat_executeScriptFromEditorCommand(d13209d459650523). (Editorcxx . . $ Editor# interpreterOwningEditor, EditorCommandcxx . . $ EditorCommand# command, conststring32cxx . . $ conststring32# script); |
| 35 | |
| 36 | /* |
| 37 | Deprecated stuff. |
| 38 | */ |
| 39 | void praat_executeScriptFromFileNameWithArgumentscxx . . $ praat_executeScriptFromFileNameWithArguments(ff00d524ab0355ec). (conststring32cxx . . $ conststring32# nameAndArguments); // called only from external man pages with \SC (deprecated 2026) (last checked 2026-02-03) |
| 40 | void praat_runOldExecuteCommandcxx . . $ praat_runOldExecuteCommand(5a4a4121a05e045). (InterpreterStackcxx . . $ InterpreterStack# owningInterpreterStack, conststring32cxx . . $ conststring32# nameAndArguments); // called only from `execute` (deprecated 2014) (last checked 2026-02-03) |
| 41 | |
| 42 | #endif // !_praat_script_h_ |