From 5a27bc08971ca0f51ff22642dadb28c6c04f006d Mon Sep 17 00:00:00 2001 From: rolandomunoz Date: Wed, 5 Oct 2022 11:59:36 -0500 Subject: [PATCH] edit: Show clear messages --- .../scripts/editor_show_tg_editor_commands.praat | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/plugin_textgrid_picmaker/scripts/editor_show_tg_editor_commands.praat b/src/plugin_textgrid_picmaker/scripts/editor_show_tg_editor_commands.praat index 109e0c3..84b1ebe 100644 --- a/src/plugin_textgrid_picmaker/scripts/editor_show_tg_editor_commands.praat +++ b/src/plugin_textgrid_picmaker/scripts/editor_show_tg_editor_commands.praat @@ -1,15 +1,13 @@ -# Created by Rolando Munoz (Jun 2019) - show_tg_editor_commands = readFile("../temp/show_tg_editor_commands.txt") -beginPause: "TextGridEditor preferences" - boolean: "TextGridEditor commands", show_tg_editor_commands +beginPause: "TextGrid PicMaker: TextGridEditor preferences" + boolean: "Show commands in TextGridEditor", show_tg_editor_commands clicked = endPause: "Cancel", "Apply", "Ok", 3 if clicked > 1 - writeFileLine: "../temp/show_tg_editor_commands.txt", string$(textGridEditor_commands) - writeInfoLine: "TextGrid Draw... Please, restart Praat to see any change." - if clicked == 2 - runScript: "editor_show_tg_editor_commands.praat" - endif + writeFileLine: "../temp/show_tg_editor_commands.txt", string$(show_commands_in_TextGridEditor) + writeInfoLine: "TextGrid Draw... Please, restart Praat to see any change." + if clicked == 2 + runScript: "editor_show_tg_editor_commands.praat" + endif endif \ No newline at end of file