Get title/ path of frontmost textedit file

NB: This issue described here, and various time-out issues
with other (Get TTL, URL, text… - macros)
were NOT a problem pre-Tahoe.

This is on a M2 Mac-Mini from 2023.

There is another macro which also sometimes fails, described here (At the first instance macro does not succeed, but 2nd time ok! - #9 by okn).