I want to run a shell command in Terminal, then clear the console, from Applescript.
If I was doing this by hand, I'd use ^K -- how do I send the ^K character in a string to Terminal?
I want to run a shell command in Terminal, then clear the console, from Applescript.
If I was doing this by hand, I'd use ^K -- how do I send the ^K character in a string to Terminal?
I think the gent who suggested 'clear' probably has the issue solved, but just in case you actually want to do what you said you did, you can simply use:
echo "^L"
(you type this as 'echo ""')