Hi,
Recently I wrote a bundle command to paste the selected TM text to a terminal window.
Was working fine for few weeks, but then suddenly there was a lag of 2-3 seconds between when i launched the command (via bundles menu or keyboard shortcut) and when it got around to pasting the text. Kind of irritating.
THoughts?
---------------
rawText="$(cat | sed 's/ / /g;')"
# send the code to the Terminal osascript -e 'on run(theCode)' \ -e ' tell application "Terminal"' \ -e ' do script theCode in window 1' \ -e ' end tell' \ -e 'end run' -- "$rawText"