List Info

Thread: connect to an already existing process




connect to an already existing process
user name
2006-11-16 10:39:33
Kevin Krammer wrote:
> On Wednesday 15 November 2006 12:09, T E Schmitz wrote:
> 
>>Philip Rodrigues wrote:
>>
>>>>>konqinstance=$(dcop | grep konqueror |
head -n 1)
>>>>>dcop $konqinstance konq-mainwindow#1
newTab http://www.kde.org
>>>>
>>>>I tried the dcop command above but get
"object not acccessible"
> 
> 
> If you are not sure you already have a Konqueror
running, you can try 
> something like this
> 
> dcop $(dcopfind -l -a konqueror-*)
konqueror-mainwindow#1 newTab 
> http://www.kde.org/ 

What caused the problem in Philip's dcop command was
"konq-mainwindow#1" 
whereas "konqueror-mainwindow#1" works fine.

Konqueror is brilliant! I've only got 2 items for the
wishlist, 
otherwise it's the best browser I've seen.


Where can I find documentation on the dcop command which
goes beyond the 
man pages?
-- 


Regards,

Tarlika Elisabeth Schmitz
___________________________________________________
This message is from the kde mailing list.
Account management:  https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
connect to an already existing process
user name
2006-11-16 12:39:37
On Thursday 16 November 2006 11:39, T E Schmitz wrote:
> Kevin Krammer wrote:
> > On Wednesday 15 November 2006 12:09, T E Schmitz
wrote:
> >>Philip Rodrigues wrote:
> >>>>>konqinstance=$(dcop | grep
konqueror | head -n 1)
> >>>>>dcop $konqinstance
konq-mainwindow#1 newTab http://www.kde.org
> >>>>
> >>>>I tried the dcop command above but get
"object not acccessible"
> >
> > If you are not sure you already have a Konqueror
running, you can try
> > something like this
> >
> > dcop $(dcopfind -l -a konqueror-*)
konqueror-mainwindow#1 newTab
> > http://www.kde.org/
>
> What caused the problem in Philip's dcop command was
"konq-mainwindow#1"
> whereas "konqueror-mainwindow#1" works fine.
>
> Konqueror is brilliant! I've only got 2 items for the
wishlist,
> otherwise it's the best browser I've seen.
>
>
> Where can I find documentation on the dcop command
which goes beyond the
> man pages?

A couple of links from my bookmarks on KDE scripting:

http://lists.kde.org/?l=kde-core-devel&m
=100405707531282&w=2
http://developer.kde.org/documentation/tut
orials/automation/index.html
http://www.linux-magazine.com/issue/36/KDE_Scriptin
g_DCOP.pdf

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
___________________________________________________
This message is from the kde mailing list.
Account management:  https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )