Avoid use of select all Remove #82
Labels
good first issue
Good for newcomers
Local App
For issues specifically with the local version
Praat
Related to praat integration with the app
Currently the Close Praat Objects button just uses a temporary script to execute
select all
thenRemove
, but this will cause people to lose any new objects that they may have created while inspecting files.A safer approach would be to set up a Table object whenever a script is first run from PitchMendR, then append indices for each file that's loaded during the session. The close objects button would then look up the indices in the Table object and remove the files one by one.
So something like
Setup (add to temp_praat_script_utils.R):
Appending (add to sendToPraat reactive in module_praat.R):
Removing (add to closePraatFiles reactive in module_praat.R)
The text was updated successfully, but these errors were encountered: