I've made a script to measure the spectral moments in a 40ms window around the cursor while in the editor, and it works great. The relevant parts are these:
Dear Praat enthusiasts, My waveform and spectrogram become misaligned when I zoom in or out, but become realigned correctly again if I go back to the original
Hi All, I've been wanting to write a little script to allow one to browse the file system. It's basically to replicate the standard Browse dialog you'd get
Hi Phonetic, That should be quite easy. The second to last line of the part of the script you pasted is now Insert point... 1 position 'i' and it should be