[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: DCOP and KOffice
From:       David Faure <faure () kde ! org>
Date:       2005-01-25 0:08:06
Message-ID: 200501250108.07149.faure () kde ! org
[Download RAW message or body]

On Sunday 02 January 2005 00:06, Giovanni Venturi wrote:
> I opened Kword by DCOP (idkword=`dcopstart kword`) then I opened a KWord file 
> than:
> fs=$(dcopobject "`dcop $idkword Document-0 textFrameSet 0`")
> edit=$(dcopobject "`dcop $idkword $fs startEditing`")

Works here. Do you use bash/zsh or another shell? $() is indeed a bash-ism.

You can check with 
echo $fs
to see the value of the fs variable. For me it's "Main Text Frameset", as expected.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic