Skip to content

Commit

Permalink
edit: Show clear messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandomunoz committed Oct 5, 2022
1 parent d3d05c0 commit 5a27bc0
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5a27bc0

Please sign in to comment.