On 24/2/2006, at 10:39, Christopher Creutzig wrote:
[...] (The script for that I posted a few days ago has problems with the AppleScript command timing out.)
What you could do is ssh home and run an asynchronous shell script, which has the scp part as part of the mate -w part.
I.e. something like: ssh home 'osascript -e '''tell app "Terminal" to do script "{ mate -w /tmp/text && scp /tmp/text server:whatever; } &>/dev/null &"''