On Thursday 24 May 2001 23:10, Simon Hausmann wrote: > On Thu, May 24, 2001 at 01:58:33PM -0700, Waldo Bastian wrote: > > > dcop konqueror "konqueror-mainwindow#1/action/back" activate > > > > > > does what you expect :-) > > > > But how do I know if I should use 'konqueror-mainwindow#1' or > > 'konqueror-mainwindow#9'? For this to work there should also be a method to > > reliably find the mainwindow based on some criteria. (But which?) Do I get > > the name of the mainwindow when I open a new one? > > The createNewWindow method in KonquerorIface used to return a dcop > reference to the newly created window. But this was changed to a void > because of some weird crashes in kfmclient, IIRC. Yes... wasn't that before the KDE-ICE fix that allows re-entrancy ? Maybe this works fine now.... -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/ KDE, Making The Future of Computing Available Today