views:

76

answers:

2

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?

+1  A: 

I think you are looking for the 'clear' command.

Skip Head
+1  A: 

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 ""')

feoh