inserting table into konsole

Ainsley Pereira kde at pebble.org.uk
Tue Aug 14 14:21:53 BST 2007


On Tue, Aug 14, 2007 at 03:14:33PM +0200, pol wrote:
> That script would be useful, if you can, please send it.

#!/bin/bash

function startSession()
{
	KID=$1
	NAME=$2
	SID=$(dcop konsole-$KID konsole newSession)
	dcop konsole-$KID $SID renameSession $NAME
}

konsole &
KID=$!
sleep 1

startSession $KID Foo
startSession $KID Bar
startSession $KID Baz

dcop konsole-$KID session-1 closeSession


Enjoy.

~Ainsley
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list