You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, March 5th 2003, 1:46pm

open new link in still open konq browser window

... does someone know if this is possible? e.g. you got a running konq with some open websites and you click a link in a mail or whatever so the link will be opened in a new tab in the allready running konq?

rgds
marc'O

2

Sunday, April 6th 2003, 9:45am

Re: open new link in still open konq browser window

Quoted

Original von sourcexx

... does someone know if this is possible? e.g. you got a running konq with some open websites and you click a link in a mail or whatever so the link will be opened in a new tab in the allready running konq?


unfortunatelly konqueror still doesn't support --remote option and nor does kfmclient (just plain openURL) to open new tabs like mozilla or opera does...
one possibility i can see: dcop commands in e.g. bash script, but first u have to get dcop name of opened konqueror window:
[code:1]dcop konqueror-*[/code:1]
you will get this: [code:1]konqueror-XXXX[/code:1] (where XXXX = process id)
then you can send a function to the konqueror window using the dcop as follows:
[code:1]dcop konqueror-XXXX 'qt/KXMLGUILClient-KActionCollection/newtab' activate[/code:1]
next u have to fill the location bar using the setProperty:
[code:1]dcop konqueror-XXXX 'qt/konqueror-mainwindow#1/qt_top_dock/locationToolBar/history combo/combo lineedit' setProperty text 'http://www.google.com'[/code:1]
and now we have to only submit the filled URL (just do animateClick :p):
[code:1]dcop konqueror-XXXX 'qt/konqueror-mainwindow#1/qt_top_dock/locationToolBar/toolbutton_go_url' animateClick[/code:1]

more about using dcop u can find here:
http://developer.kde.org/documentation/tutorials/automation/index.html

it's pretty crazy but i hope it's a bit usefull for u... ;)
:.. :.: ::: :

3

Friday, April 25th 2003, 1:09pm

This is also one of my most wanted features, is the --remote feature planned?